UNPKG

@mosmmy/shortname-js

Version:

shortname-js is a JavaScript function designed to shorten names in a simple and user-friendly way. The function allows users to quickly enter full names and receive abbreviated versions of those names in return

57 lines (56 loc) 1.58 kB
{ "name": "@mosmmy/shortname-js", "version": "1.0.7", "description": "shortname-js is a JavaScript function designed to shorten names in a simple and user-friendly way. The function allows users to quickly enter full names and receive abbreviated versions of those names in return", "displayName": "shortname-js", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "src", "dist", "LICENSE", "README.md", "package.json" ], "scripts": { "build": "tsc --declaration", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint 'src/**/*.{ts,js}'", "lint:fix": "eslint 'src/**/*.{ts,js}' --fix", "format": "prettier --write 'src/**/*.{ts,js}'" }, "keywords": [ "shortname-js", "function", "quickly", "abbreviated", "names" ], "author": "Moser José", "license": "MIT", "homepage": "https://github.com/moser-jose/shortname-js", "repository": { "type": "git", "url": "https://github.com/moser-jose/shortname-js.git" }, "bugs": { "url": "https://github.com/moser-jose/shortname-js/issues" }, "devDependencies": { "@eslint/js": "9.21.0", "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "8.26.0", "@typescript-eslint/parser": "8.26.0", "eslint": "9.21.0", "eslint-config-prettier": "10.0.2", "eslint-plugin-prettier": "5.2.3", "globals": "16.0.0", "jest": "^29.7.0", "prettier": "3.5.3", "ts-jest": "^29.1.2", "typescript": "^5.3.3" } }