A collection of tiny modules to do colossal things

The new modular, lightweight and tiny library to empower your core JavaScript development

  • Modules
  • All-in-one bundle
  • See on Github

    Introducing Lil'JS

    Lil'JS aims to be a general purpose JavaScript collection of modules for common ES 5 & 6 development
    Modules are designed keeping in mind modularity, lightweight, dependency-free, low-coupling and reusability

    It could be a great choice to embed it as a part of your library, framework, application core or using it from Web Workers

    Tiny

    Modules are designed keeping bytes in mind, trying to create them as lightweight as possible. Usually their size is around 1KB (gzipped)

    Modular

    Each module has it's own resposability and no coupling with others modules

    Cross-engine

    Runs in multiple JavaScript engines, including browsers, node.js and any other ES5 compliant engine

    Design Principles & Features

    Single responsability

    Each module was designed according to the single module responsability principle

    Low-coupling

    Modules arises from the idea to be much independent as possible, avoiding dependency between them

    Well tested

    Each module has a high test coverage and pass tests in node.js, headless and real browsers

    Lightweight

    Modules are as much lightweight as possible. Only necessary code will be put inside

    CommonJS

    It uses CommonJS and UMD module definition pattern to support multiple JavaScript environments

    Well documented

    Each module has it's own basic usage, examples and API documentation, based on Markdown

    Modules

    http

    Browser 1KB lil-http
    Tiny, lightweight, full featured HTTP client

    uri

    Multi 1KB lil-uri
    URI parser and builder with semantic API

    type

    Multi 1KB lil-type
    Modern, reliable, full featured, type checking helpers

    uuid

    Multi 1KB lil-uuid
    UUID version 4 generator and validator (RFC4122 compliant)

    event

    Multi 1KB lil-event
    Tiny event bus inspired in node's EventEmitter



    Upcoming Modules

    ua

    Multi
    Cross UserAgent parser with elegant API

    sort

    Multi
    Array sorting helpers based on efficient and well-knowned algorithms

    validate

    Multi
    Generic data validation helpers



    Looking for more modules?

    New modules will continously supported during the future...
    You can open an issue proposing a new module