🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

sojs-utility

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sojs-utility

sojs工具集

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 19 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts