UNPKG

word-join

Version:

Tiny module to join arrays with commas, "and", and Oxford comma support

53 lines (52 loc) 1.46 kB
{ "name": "word-join", "version": "1.0.0", "type": "module", "description": "Tiny module to join arrays with commas, \"and\", and Oxford comma support", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.cts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./package.json": "./package.json" }, "scripts": { "build": "tsdown", "check": "npm run check:cjs && npm run check:mjs && npm run check:publint", "check:cjs": "es-check es6 './dist/*.cjs'", "check:mjs": "es-check es6 './dist/*.mjs' --module", "check:publint": "publint", "format": "biome check --no-errors-on-unmatched --write", "lint": "npm run lint:tsc && npm run lint:biome", "lint:biome": "biome check --no-errors-on-unmatched", "lint:tsc": "tsc --noEmit", "postversion": "git push && git push --tags", "prepare": "husky && npm run build && npm run check", "preversion": "npm run lint" }, "devDependencies": { "@biomejs/biome": "^2.4.6", "es-check": "^9.6.2", "husky": "^9.1.7", "lint-staged": "^16.3.2", "publint": "^0.3.18", "tsdown": "^0.21.0", "typescript": "^5.9.3" }, "repository": "github:stldo/word-join", "keywords": [ "string", "join", "comma", "oxford", "word", "text", "and", "or" ], "author": "stldo (https://github.com/stldo)", "license": "MIT" }