Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
generate random javascript identifiers
JavaScript
tree: 03b3073031

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
test
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.

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

Something went wrong with that request. Please try again.