node ten Modules(初始)
给迷茫的你学习Node.js最好的方法
每天10个 npm 模块
Array
is-sorted
A small module to check if an Array is sorted.
核心代码 index.js
1 | function defaultComparator (a, b) { |
test.js
1 | var sorted = require('./index') |
A small module to check if an Array is sorted.
核心代码 index.js
1 | function defaultComparator (a, b) { |
test.js
1 | var sorted = require('./index') |