Nanoprogrammed Penultimate Musicianship

    @csquare/c2id
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.1 • Public • Published

    @csquare/c2id

    licence version coverage

    Generate nearly unique base62-based ids.

    Maintained by Mathieu Bour, Lead Platform Engineer at Cohesive Computing SA.

    Installation

    Install with npm:

    npm install --save @csquare/c2id

    Install with Yarn:

    yarn add @csquare/c2id

    Usage

    Basic usage

    Using CommonJS syntax:

    const { c2id } = require('@csquare/c2id');
    
    const output = c2id();

    Using ESM syntax (default import):

    import c2id from '@csquare/c2id';
    
    const output = c2id();

    or

    import { c2id } from '@csquare/c2id';
    
    const output = c2id();

    Install

    npm i @csquare/c2id

    DownloadsWeekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    7.05 kB

    Total Files

    6

    Last publish

    Collaborators

    • csquare-bot
    • arctic_submarine
    • mathieu-bour