huge-id

Extremely easy zero-dependency ID generation in Node.js

Usage no npm install needed!

<script type="module">
  import hugeId from 'https://cdn.skypack.dev/huge-id';
</script>

README

huge-id

Extremely easy ID generation in Node.js

Installation

We use yarn, but you can use your favourite package manager. yarn add huge-id or npm i --save huge-id

Usage

const id = require('huge-id');
// Or
import id from 'huge-id';

id();

API

id(length?: number, alphabet?: string): string;