Legitcode/id

Name: id

Owner: Legitcode

Description: a small utility for generating unique id's (useful for React)

Created: 2015-09-17 22:40:50.0

Updated: 2015-09-17 22:41:44.0

Pushed: 2015-09-17 22:51:49.0

Homepage: null

Size: 124

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Legit ID

I was tired of making a function that generates a unique id for my React keys, so i made this simple thing

Install

npm install legit-id --save

example
rt 'legit-id'

t'.id // -> test-1
t'.id // -> test-2
some'.id // -> awesome-3

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.