UNPKG

unofficial-jisho-api

Version:

Encapsulates the official Jisho.org API and also provides kanji, example, and stroke diagram search.

57 lines (56 loc) 1.68 kB
{ "name": "unofficial-jisho-api", "version": "2.3.4", "description": "Encapsulates the official Jisho.org API and also provides kanji, example, and stroke diagram search.", "main": "index.js", "types": "index.d.ts", "type": "module", "exports": { "import": "./index.js", "require": "./index.cjs" }, "scripts": { "buildcjs": "rollup index.js --file index.cjs --format cjs", "prepublishOnly": "npm run buildcjs", "create_test_cases": "node ./test/create_test_cases.js", "test": "./node_modules/.bin/mocha ./test/run_tests.js --exit", "coverage": "./node_modules/.bin/nyc npm run test", "test_travis": "npm run lint && npm run coverage && ./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov", "document": "./node_modules/.bin/jsdoc --configure .jsdoc.json ./index.js -d ./docs -R README.md" }, "repository": { "type": "git", "url": "git+https://github.com/mistval/unofficial-jisho-api.git" }, "keywords": [ "jisho", "kanji", "japanese", "word", "search", "stroke", "order", "diagrams" ], "author": "mistval", "license": "MIT", "bugs": { "url": "https://github.com/mistval/unofficial-jisho-api/issues" }, "homepage": "https://github.com/mistval/unofficial-jisho-api#readme", "dependencies": { "axios": "^1.6.0", "cheerio": "^1.0.0-rc.10", "escape-string-regexp": "^1.0.5", "html-entities": "^1.2.1" }, "devDependencies": { "chai": "^4.2.0", "codecov": "^3.5.0", "docdash": "^2.0.1", "jsdoc": "^4.0.0", "mocha": "^10.2.0", "nyc": "^14.1.1", "rollup": "^2.53.0" } }