node package manager

identifier

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