Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xucongli1989/x-js-kit
This is a common JavaScript tool library, which contains a lot of public methods, it can save you from repeating trivia, and most of its methods support Node.js and browser environment, I hope you will like it!
https://github.com/xucongli1989/x-js-kit
helper javascript javascript-library js library toolkit
Last synced: about 1 month ago
JSON representation
This is a common JavaScript tool library, which contains a lot of public methods, it can save you from repeating trivia, and most of its methods support Node.js and browser environment, I hope you will like it!
- Host: GitHub
- URL: https://github.com/xucongli1989/x-js-kit
- Owner: xucongli1989
- License: gpl-3.0
- Created: 2018-11-09T06:31:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T06:30:13.000Z (3 months ago)
- Last Synced: 2024-10-24T20:04:55.199Z (3 months ago)
- Topics: helper, javascript, javascript-library, js, library, toolkit
- Language: TypeScript
- Homepage:
- Size: 13.1 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
This is a common JavaScript tool library, which contains a lot of public methods, it can save you from repeating trivia, and most of its methods support Node.js and browser environment, I hope you will like it!
# Principle
The library doesn't contains very ordinary common methods.
So you can use `lodash`,`moment`,`jQuery`,`underscore` and more with the library.
# Run
```javascript
npm run dev//To build files in development environment
npm run dist//To build files in production environment
npm run test//To run unit test
```# Usage
```bash
npm install --save x-js-kit
``````javascript
//Import the whole module
//Or import "x-js-kit/dist/index.polyfill" with polyfill
import JsKit from "x-js-kit"
...your code...
``````javascript
//Import part of module (recommended)
import stopWatch from "x-js-kit/lib/timer/stopWatch"
...your code...
```# Notice
- To ensure that the commit log format is consistent, please use `npm run ct` to commit the code
# Change log
[CHANGELOG.md](CHANGELOG.md)