Skip to content
Useful utility collection with zero dependencies
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: open collective Dec 27, 2019
.vscode
bin Remove nopt dependency Jul 15, 2019
lib
src add: isHidden Jan 9, 2020
.editorconfig
.gitattributes style: line break Oct 14, 2019
.gitignore chore: move generated files into .licia folder Sep 4, 2019
.travis.yml
CHANGELOG.md release: v1.17.0 Dec 30, 2019
DOC.md add: isHidden Jan 9, 2020
DOC_CN.md add: isHidden Jan 9, 2020
LICENSE Update readme cn Mar 21, 2019
README.md
README_CN.md chore: contributing guide Sep 5, 2019
eslint.release.js
eslint.src.js chore: change test to tests Dec 16, 2019
index.json add: isHidden Jan 9, 2020
nyc.config.js chore: display coverage when running tests Sep 4, 2019
package.json release: v1.17.0 Dec 30, 2019
prettier.config.js style: line break Oct 14, 2019
tsconfig.json

README.md

中文

Licia

NPM version Build status License

Licia is a utility library that focus on getting daily works done. Unlike other libraries such as underscore, mout, which strictly separates its functions into several categories like array, string and function etc. licia is just a deadly simple collection of over 300 micro modules dealing problems in different aspects.

Benefits

Installing one library brings you tons of useful utilities:

  • A dom module with jQuery coding style.
  • A cookie library.
  • dateFormat that is good enough to handle most date related work.
  • A Promise polyfill.
  • A micro event emitter library.
  • Ajax and its Promise version fetch.
  • Useful functions from underscore, such as shuffle, unique.
  • mkdir, like mkdirp the module that has many dependents in npm.
  • ...

Usage

Just install licia and use it like any other npm utility modules such as lodash.

npm i licia --save
const uuid = require('licia/uuid');

console.log(uuid()); // -> 0e3b84af-f911-4a55-b78a-cedf6f0bd815

There is also an online tool to build a customized utility library, check here.

Contribution

Read Contributing Guide for development setup instructions.

You can’t perform that action at this time.