0.1.7 • Published 3 years ago
sn-js-utils v0.1.7
sn-js-utils
简体中文 | English
The third party JS|TS
common library
:star: special
- The third party
JS|TS
common library
:pill: Compatibility
Unit tests guarantee support on the following environment:
IE | CH | FF | SF | OP | IOS | Android | Node |
---|---|---|---|---|---|---|---|
6+ | 29+ | 55+ | 9+ | 50+ | 9+ | 4+ | 4+ |
:rocket: Usage Instructions
Using npm, download and install the code.
$ npm install --save sn-js-utils
For node environment:
const snJsUtils = require('../dist/index.js');
For webpack or similar environment:
import { DateUtil } from 'sn-js-utils';
For requirejs environment:
requirejs(['node_modules/sn-js-utils/dist/index.aio.js'], function (snJsUtils) {
console.log(snJsUtils.DateUtil.formatDate(new Date(), 'yyyy-MM-dd'));
})
For browser environment:
<script src="node_modules/sn-js-utils/dist/index.aio.js"></script>
:bookmark_tabs: Documents
Contributors
:gear: Change Log
:airplane: TODO
:bulb: Current Users
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5-rc.10
5 years ago
0.1.5-rc.9
5 years ago
0.1.5-rc.8
5 years ago
0.1.5-rc.7
5 years ago
0.1.5-rc.6
5 years ago
0.1.5-rc.4
5 years ago
0.1.5-rc.3
5 years ago
0.1.5-rc.1
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago