Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

unique-string

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Issues
File Explorer

Advanced tools

unique-string

Generate a unique random string

    3.0.0latest

Version published
Maintainers
1
Weekly downloads
12,495,776
decreased by-12.9%

Weekly downloads

Changelog

Source

Breaking

  • Require Node.js 12 c164e7c
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/unique-string/compare/v2.0.0...v3.0.0

Readme

Source

unique-string

Generate a unique random string

Install

$ npm install unique-string

Usage

import uniqueString from 'unique-string'; uniqueString(); //=> 'b4de2a49c8ffa3fbee04446f045483b2'

API

uniqueString()

Returns a 32 character unique string. Matches the length of MD5, which is unique enough for non-crypto purposes.

Keywords

FAQs

What is unique-string?

Generate a unique random string

Is unique-string popular?

The npm package unique-string receives a total of 9,988,451 weekly downloads. As such, unique-string popularity was classified as popular.

Is unique-string well maintained?

We found that unique-string demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 05 Apr 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc