PackageTrack

npm · #4702 most downloaded on npm

@lukeed/uuid

2.0.1lukeed/uuid

A tiny (230B) and fast UUID (v4) generator for Node and the browser

Release timeline

4 releases since 2020
2020202120222023202420252026

Releases

  1. 2.0.131 Mar 2023
    Release notes

    Patches

    • Add "types" conditions to exports map (#10): 4f36a44

    Chores

    • Add Chrome v85 benchmark results to README: ce8c77d

    Full Changelog: https://github.com/lukeed/uuid/compare/v2.0.0...v2.0.1

    Open source →
  2. 2.0.028 Oct 2020
    Release notes

    Breaking

    • Replaced default export with a named v4 export: 3e77ae9

      -- import uuid from '@lukeed/uuid';
      ++ import { v4 as uuid } from '@lukeed/uuid';
      
    • Module now ships "non-secure" implementation (via Math.random) by default: 603674b, 4da1a49 The cryptographically secure (CSPRNG) implementation is now exported separately as @lukeed/uuid/secure.

      -- import uuid from '@lukeed/uuid';
      ++ import { v4 as uuid } from '@lukeed/uuid/secure';
      
    • Removed "browser" entry from package.json config: e77255c _While @lukeed/uuid/secure still uses the environment's crypto module, aliasing crypto has been moved to a separate @lukeed/csprng module. Bundlers and/or Node.js ESM will still follow the path resolution(s).

    Features

    • Module now includes separate "secure" vs "non-secure" modes: 603674b, 4da1a4, 4da1a49 This allows you to choose an implementation based on your needs~! AKA – you can trade speed for security if/when desired.

    • Added exports map for native Node.js ESM support: b3f97bb

    Chores

    • Include @lukeed/uuid/secure usage example: 53bcd1b
    • Update README documentation: c90b2e2, 1525478
    • Update CI badge image: 7acbf9e
    • Update devDependency versions: 60363c1
    • Update tests: 428d3c6
    Open source →
  3. 1.0.11 Mar 2020

    Nothing published for this version

  4. 1.0.029 Feb 2020

    Nothing published for this version