yanki
Version:
A CLI tool and TypeScript library to turn Markdown into Anki flashcards.
140 lines • 3.9 kB
JSON
{
"name": "yanki",
"version": "2.0.9",
"description": "A CLI tool and TypeScript library to turn Markdown into Anki flashcards.",
"keywords": [
"anki",
"flashcards",
"spaced-repetition",
"anki-connect",
"ankiconnect",
"markdown",
"cli",
"sync",
"npm-package"
],
"homepage": "https://github.com/kitschpatrol/yanki",
"bugs": "https://github.com/kitschpatrol/yanki/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/kitschpatrol/yanki.git"
},
"license": "MIT",
"author": {
"name": "Eric Mika",
"email": "eric@ericmika.com",
"url": "https://ericmika.com"
},
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/lib/index.d.ts",
"import": "./dist/lib/index.js"
},
"./standalone": {
"types": "./dist/standalone/index.d.ts",
"import": "./dist/standalone/index.js"
}
},
"main": "./dist/lib/index.js",
"jsdelivr": "./dist/standalone/index.js",
"unpkg": "./dist/standalone/index.js",
"module": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts",
"bin": {
"yanki": "dist/bin/cli.js"
},
"files": [
"dist/*"
],
"dependencies": {
"@shikijs/langs": "^4.0.2",
"@shikijs/rehype": "^4.0.2",
"@shikijs/themes": "^4.0.2",
"@sindresorhus/fnv1a": "^3.1.0",
"@sindresorhus/slugify": "^3.0.0",
"@stdlib/assert-is-absolute-path": "^0.2.3",
"@types/hast": "^3.0.4",
"@types/lodash-es": "^4.17.12",
"@types/mdast": "^4.0.4",
"@types/node": "~20.11.30",
"@types/unist": "^3.0.3",
"@types/yargs": "^17.0.35",
"crypto-hash": "^4.0.1",
"deepmerge-ts": "^7.1.5",
"filenamify": "6.0.0",
"globby": "^16.2.0",
"hast-util-to-text": "^4.0.2",
"linkedom": "^0.18.12",
"mdast-util-from-markdown": "^2.0.3",
"micromark-util-sanitize-uri": "^2.0.1",
"micromark-util-types": "^2.0.2",
"nanoid": "^5.1.11",
"path-browserify-esm": "^1.0.6",
"picocolors": "^1.1.1",
"plur": "^6.0.0",
"pretty-ms": "^9.3.0",
"rehype-format": "^5.0.1",
"rehype-parse": "^9.0.1",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.1",
"remark": "^15.0.1",
"remark-breaks": "^4.0.0",
"remark-denden-ruby": "^0.3.1",
"remark-flexible-markers": "^1.3.4",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-github-beta-blockquote-admonitions": "^3.1.2",
"remark-math": "^6.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"shiki": "^4.0.2",
"slash": "^5.1.0",
"sort-keys": "^6.0.0",
"strip-ansi": "^7.2.0",
"type-fest": "^5.6.0",
"uint8array-extras": "^1.5.0",
"unified": "^11.0.5",
"unist-builder": "^4.0.0",
"unist-util-visit": "^5.1.0",
"untildify": "^6.0.0",
"yaml": "^2.9.0",
"yanki-connect": "^4.0.5",
"yargs": "^18.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@kitschpatrol/shared-config": "^7.6.0",
"@vitest/browser-playwright": "^4.1.6",
"@vitest/coverage-v8": "^4.1.6",
"bumpp": "^11.1.0",
"execa": "^9.6.1",
"mdat-plugin-cli-help": "^3.0.0",
"playwright": "^1.60.0",
"publint": "^0.3.21",
"shx": "^0.4.0",
"tsdown": "^0.22.0",
"tsx": "^4.22.0",
"typescript": "~5.9.3",
"vitest": "^4.1.6"
},
"engines": {
"node": ">=20.19.0"
},
"devEngines": {
"runtime": {
"name": "node",
"version": ">=22.18.0"
}
},
"scripts": {
"build": "tsdown && attw -P --profile esm-only && publint",
"clean": "shx rm -f pnpm-lock.yaml && git clean -fdX -e !.claude/",
"coverage": "vitest run --coverage",
"fix": "ksc fix",
"lint": "ksc lint",
"release": "bumpp --commit 'Release: %s' && pnpm build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') pnpm publish",
"test": "vitest run"
}
}