New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

simple-unique-id

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-unique-id

A simple unique ID generator.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

simple-unique-id

A simple unique ID generator.

Example usage

Specify a string to be used as the basis for the hash.

// Load dependencies.
var simple_unique_id = require('simple-unique-id')

// Generate rudimentary unique ID.
var id = simple_unique_id.generate('Hello world!')
console.log('id: %s', id)

This should produce output like the following.

> node example.js
id: 022c749a1c5f1f7687166ed3badfa8a9158e83f6

Simple.

License

This repository is made available to the public as open source software under the MIT License.

Keywords

moment

FAQs

Package last updated on 08 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts