Dewyzee / sojs-utility

sojs utility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sojs.utility

=================================== sojs工具库. 轻量级类库直接放在 sojs.utility 项目中. 复杂的类库比如 sojs.utility.file, sojs.utility.url 等作为单独项目维护. 使用时, 只需要引用 sojs.utility 即可.由sojs.utility负责加载其他子项目.


Install

npm install sojs-utility

Use


require('sojs-utility');

var file = sojs.using('sojs.utility.file');
var filePath = sojs.getClassPath('sojs.utility.file');
file.readFileSync(filePath);

Develop

install for develop

npm install

Unit Test

node .\tool\unit.js

Benchmark

node .\tool\benchmark.js

Coverage

node .\tool\coverage.js

About

sojs utility

License:MIT License


Languages

Language:JavaScript 100.0%