weblmz / licia

Useful utility collection with zero dependencies

Home Page:https://licia.liriliri.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

中文

Licia

Join the chat at https://gitter.im/liriliri/licia NPM version Build status Test coverage 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 400 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.

About

Useful utility collection with zero dependencies

https://licia.liriliri.io/

License:MIT License


Languages

Language:JavaScript 95.8%Language:HTML 3.6%Language:Smarty 0.6%