Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @wulechuan/get-valid-indentation-string with all npm packages installed. Try it out:

var getValidIndentationString = require("@wulechuan/get-valid-indentation-string")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@wulechuan/get-valid-indentation-string v2.0.3

此为吴乐川的《获取计算机源代码单级缩进空白的工具》。本工具可按需产生一个字符串,该字符串用作计算机源代码之单级缩进之空白。该字符串要么全是“空格”(`' '`),要么全是“制表符”(`' '`),但二者不可混用。并且,多于一个制表符是允许的,但本程序会给出警告信息。因为,一般的,我们仅需采用单一制表符。

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free