README
nowcoder-inout-binding
Provide print and readline function on Node.js
For the people who use Javascript programming language on the NowCoder website that provides the readline and print function.
为在牛客网上使用 Javascript 语言的小伙伴提供 Node.js 平台上的 readline 和 print 方法。
Install
npm install nowcoder-inout-binding --save-dev
Usage
CommonJS
require('nowcoder-inout-binding')
ES6
import 'nowcoder-inout-binding'
readline and print function will be automatically bind on the global object, so that you can call them directly.
readline 和 print 方法将自动绑定在 global 对象上,因此直接调用即可。