Skip to content

liriliri/licia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b4d0fa3 · Mar 27, 2025
Jan 5, 2025
Jul 14, 2023
Apr 12, 2022
Nov 27, 2024
Mar 27, 2025
Jul 23, 2024
Mar 27, 2025
Mar 27, 2025
Oct 23, 2018
Oct 14, 2019
Sep 4, 2019
Feb 22, 2023
Mar 27, 2025
Mar 27, 2025
Mar 27, 2025
Mar 21, 2019
Jun 18, 2024
Mar 11, 2025
Apr 14, 2022
Apr 3, 2020
Sep 5, 2021
Mar 27, 2025
Feb 17, 2020
Mar 27, 2025
Sep 4, 2019

Repository files navigation

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.