Licia

Useful utility collection with zero dependencies
GitHub
2.29k
Created 9 years ago, last commit 3 days ago
7 contributors
1.11k commits
Stars added on GitHub, month by month
11
12
1
2
3
4
5
6
7
8
9
10
2023
2024
Stars added on GitHub, per day, on average
Yesterday
=
Last week
+0.1
/day
Last month
+0.2
/day
Last 12 months
+0.2
/day
npmPackage on NPM
licia
1.45.0
Monthly downloads on NPM
11
12
1
2
3
4
5
6
7
8
9
10
2023
2024
No dependencies
README

Licia

Useful utility collection with zero dependencies.

NPM version Build status Test coverage Size 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

Looking for Licia modules written in ES6 or smaller bundle sizes? Check out licia-es. There is also an online tool to build a customized utility library, check here.

Contribution

Read Contributing Guide for development setup instructions.