UNPKG

string-to-svg

Version:

Convert text to SVG path without native dependence.

67 lines (66 loc) 1.51 kB
{ "name": "string-to-svg", "version": "4.0.1", "description": "Convert text to SVG path without native dependence.", "type": "module", "exports": { ".": { "node": { "types": "./dist/node.d.ts", "require": "./dist/node.cjs", "import": "./dist/node.js" }, "default": { "types": "./dist/browser.d.ts", "require": "./dist/browser.cjs", "import": "./dist/browser.js" } } }, "files": [ "dist" ], "scripts": { "build": "tsup src/browser.ts src/node.ts --dts --format cjs,esm", "test": "vitest" }, "repository": { "type": "git", "url": "https://github.com/sasnovacat08/string-to-svg" }, "keywords": [ "fonts", "glyph", "graphics", "SVG", "text", "vector" ], "author": "Hideki Shiro", "contributors": [ { "name": "Ruben Barros", "email": "ruben.barr08@gmail.com" } ], "license": "MIT", "bugs": { "url": "https://github.com/sasnovacat08/string-to-svg/issues" }, "homepage": "https://github.com/sasnovacat08/string-to-svg", "dependencies": { "opentype.js": "1.3.4" }, "devDependencies": { "@types/node": "^20.5.1", "@types/opentype.js": "^1.3.4", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", "eslint": "^8.47.0", "eslint-plugin-prettier": "^5.0.0", "prettier": "^3.0.2", "tsup": "^7.2.0", "typescript": "^5.1.6", "vitest": "^0.34.2" } }