UNPKG

@igor.dvlpr/strip-yaml-front-matter

Version:

🦓 Strips YAML front matter from a String or a file. 👾

48 lines (47 loc) • 1.3 kB
{ "name": "@igor.dvlpr/strip-yaml-front-matter", "version": "1.0.0", "description": "🦓 Strips YAML front matter from a String or a file. 👾", "sideEffects": false, "engines": { "node": ">=20.0" }, "types": "./dist/index.d.mts", "main": "./dist/index.mjs", "module": "./dist/index.mjs", "files": ["dist"], "scripts": { "build": "tsc", "test": "vitest --run", "debug": "vitest", "pub": "npm test && npm run build && npm publish --access public" }, "keywords": [ "strip", "yaml", "frontmatter", "front-matter", "remove", "regex", "regexp", "igorskyflyer", "igor.dvlpr" ], "license": "MIT", "author": "Igor Dimitrijević <igor.dvlpr@gmail.com> (https://github.com/igorskyflyer)", "funding": "https://ko-fi.com/igorskyflyer", "homepage": "https://github.com/igorskyflyer/npm-strip-yaml-front-matter", "repository": { "type": "git", "url": "git+https://github.com/igorskyflyer/npm-strip-yaml-front-matter.git" }, "bugs": { "url": "https://github.com/igorskyflyer/npm-strip-yaml-front-matter/issues" }, "devDependencies": { "@biomejs/biome": "^1.8.3", "@types/node": "^20.14.10", "typescript": "^5.5.3", "vitest": "^2.0.1" } }