UNPKG

@alixmixx/unique-username-generator

Version:

A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.

76 lines (75 loc) 2.44 kB
{ "name": "@alixmixx/unique-username-generator", "version": "1.1.7", "description": "A package to generate a unique username from email or randomly selected nouns and adjectives. User can add a separator between the username, define the maximum length of a username and adds up to six random digits.", "main": "./dist/index.js", "scripts": { "build": "tsc", "test": "ts-mocha tests/**/*.test.ts", "coverage": "nyc npm test && npm run cover:report", "cover:report": "nyc report --reporter=lcov --reporter=text", "lint": "eslint '*/**/*.ts'", "prepare": "npm run build", "semantic-release": "semantic-release --branches main" }, "files": [ "dist", "LICENSE", "README.md" ], "repository": { "type": "git", "url": "https://github.com/Alixmixx/unique-username-generator.git" }, "keywords": [ "generate", "username", "username-from-email", "email", "generate username", "generate-username-from-email", "generate unique username", "generate-unique-username", "generate-unique-name", "@alixmixx/unique-username-generator", "unique-name-generator", "unique", "random", "user", "generator", "node" ], "author": "Alixmixx", "license": "MIT", "bugs": { "url": "https://github.com/Alixmixx/unique-username-generator/issues" }, "homepage": "https://github.com/Alixmixx/unique-username-generator#readme", "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.2", "@types/chai": "^4.3.1", "@types/mocha": "^9.1.1", "@types/node": "^17.0.33", "@typescript-eslint/eslint-plugin": "^5.23.0", "@typescript-eslint/parser": "^5.23.0", "chai": "^4.3.6", "cz-conventional-changelog": "^3.3.0", "eslint": "^8.15.0", "mocha": "^10.0.0", "nyc": "^15.1.0", "semantic-release": "^19.0.5", "source-map-supclearport": "^0.5.21", "ts-mocha": "^10.0.0", "ts-node": "^10.9.1", "typescript": "^4.6.4" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" } }