diff --git a/README.md b/README.md index 5ce842b..b1cdb9a 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,9 @@ that is 33 characters in length, by default `fixedLength` is `false`. - `options: Object` If `{ fixedLength: true }` is passed in, the function will always generate an id that is 33 characters in length, by default `fixedLength` is `false`. -If `{ urlSafe: true }` is passed in, the function will generate url safe ids. +If `{ urlSafe: true }` is passed in, the function will generate url safe ids. If `{ startFrom: }` is passed in, the first counter will start from that -number, which must be beteen 0 and 2147483647. Fractions are discarded, only the +number, which must be between 0 and 2147483647. Fractions are discarded, only the integer part matters. ### instance() diff --git a/package.json b/package.json index b897f24..17ee613 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,11 @@ "version": "2.0.4", "description": "Uber-fast unique id generation, for Node.js and the browser", "main": "hyperid", + "files": [ + "hyperid.js", + "index.d.ts", + "test" + ], "scripts": { "typescript": "tsc --project ./test/tsconfig.json", "test": "standard && tape test/test.js test/uniqueness.js | tap-dot && npm run typescript"