nowcoder-inout-binding
Version:
Provide print and readline function on Node.js
26 lines (13 loc) • 775 B
Markdown
## nowcoder-inout-binding
Provide print and readline function on Node.js
For the people who use __Javascript__ programming language on the [NowCoder](http://www.nowcoder.com) 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__ 对象上,因此直接调用即可。