HTML-to-React parser that converts HTML strings into React elements on both Node.js and the browser.
liriliri/licia
A zero-dependency JavaScript utility library of over 400 small, independently importable micro modules for everyday coding tasks.
- Stars
- 2,382
- Forks
- 163
- Open issues
- 0
- Last commit
- last month
What is it?
Licia is a JavaScript utility library built around a large set of small modules rather than a few grouped namespaces. Each function lives in its own module, so you import only what you use with a path such as require('licia/uuid'). The library has no runtime dependencies.
The collection covers a broad range of daily tasks, including a jQuery-style DOM module, cookie handling, date formatting, a Promise polyfill, a micro event emitter, Ajax and a fetch-style Promise request helper, and several utilities ported from underscore such as shuffle and unique. It also includes a recursive mkdir function.
For ES6 modules or smaller bundles, the author maintains a separate package called licia-es, and an online builder lets you assemble a customized build from the modules you select.
Key features
- 01Over 400 micro modules, each importable on its own.
- 02Zero dependencies.
- 03Includes a jQuery-style DOM module, cookie helpers, and date formatting.
- 04Provides a Promise polyfill, event emitter, and Ajax/fetch utilities.
- 05Offers an online builder to create a customized build.
Use cases
- Replacing lodash-style helpers in a project that needs minimal install size.
- Adding small utilities such as uuid or mkdir without pulling in extra packages.
- Building a custom utility bundle with only the functions an app uses.
Quick start
- 1
Install licia from npm
npm i licia --save - 2
Require a module and call it
const uuid = require('licia/uuid'); console.log(uuid()); // -> 0e3b84af-f911-4a55-b78a-cedf6f0bd815
Topics
FAQ
- What is licia?
- A zero-dependency JavaScript utility library of over 400 small, independently importable micro modules for everyday coding tasks. Licia is a JavaScript utility library built around a large set of small modules rather than a few grouped namespaces. Each function lives in its own module, so you import only what you use with a path such as require('licia/uuid'). The library has no runtime dependencies.
- Is licia free to use? What license does it have?
- licia is open source under the MIT license. Check the license terms before using it in commercial products.
- Is licia still maintained?
- Updated within 6 months. The last commit to licia was on Oct 4, 2026.
- What can I use licia for?
- Replacing lodash-style helpers in a project that needs minimal install size. Adding small utilities such as uuid or mkdir without pulling in extra packages. Building a custom utility bundle with only the functions an app uses.
- How do I install licia?
- Install licia from npm: npm i licia --save Require a module and call it: const uuid = require('licia/uuid'); console.log(uuid()); // -> 0e3b84af-f911-4a55-b78a-cedf6f0bd815
- Where can I get licia?
- The source code and installation instructions are on GitHub: https://github.com/liriliri/licia
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A JavaScript utility library providing functional helpers like each, map, reduce and filter without extending core objects.
A zero-dependency TypeScript library for building animated, step-by-step code explainers that render to SVG in the browser or on Cloudflare Workers and Node.
A pure-JavaScript implementation of WHATWG DOM and HTML standards for running a headless DOM environment in Node.js.
Lightweight React DOM testing utilities that query and interact with components the way users do.
A TypeScript utility library offering data-first and data-last functions for arrays, objects and other common operations.