generate random javascript identifiers
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
test
.travis.yml
README.markdown
index.js

README.markdown

identifier

Generate random javascript identifiers.

This is probably only useful if you're doing hackish tricks involving AST transforms or whatevers.

build status

example

var identifier = require('identifier');
var name = identifier(16);
console.log(name);

output:

KAUfaA66_BYii1Oq

methods

var identifier = require('identifier')

identifier(n)

Return a valid javascript identifier string n characters long.

install

With npm do:

npm install identifier

license

MIT