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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
I was tired of making a function that generates a unique id for my React keys, so i made this simple thing
npm install legit-id --save
rt 'legit-id'
t'.id // -> test-1
t'.id // -> test-2
some'.id // -> awesome-3