UNPKG

generate-alphabetic-name

Version:

Take an arbitrary string or integer and generate a short alphabetic code. It works in the browser and node.js and is designed to be as small as possible, and extremely fast.

6 lines (4 loc) 103 B
// @flow // Generated using flowgen2 declare function hash(str: string): number; export default hash;