UNPKG

pg-rdf-to-json

Version:

Transforms RDF files from rdf-files.tar.bz2 provided by Project Gutenberg into JS/JSON objects.

47 lines (46 loc) 1.32 kB
{ "name": "pg-rdf-to-json", "version": "0.1.0", "description": "Transforms RDF files from rdf-files.tar.bz2 provided by Project Gutenberg into JS/JSON objects.", "license": "MIT", "author": "Chris Newton <me@chrisnewtn.com> (https://chrisnewtn.com)", "type": "module", "bin": "dist/cli.js", "main": "dist/index.js", "scripts": { "prepack": "npm run build", "prebuild": "rm -rf dist", "build": "tsc -p tsconfig.json", "postbuild": "chmod +x dist/cli.js", "pretest": "npm run build", "test": "node --test --enable-source-maps test/**.test.js", "predry-run": "npm run build", "dry-run": "tar -lxOf input-files/rdf-files.tar.bz2 | node --enable-source-maps dist/cli.js -vo output-data" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/chrisnewtn/pg-rdf-to-json.git" }, "keywords": [ "metadata", "json", "rdf", "xml", "marc21", "mads", "project-gutenberg" ], "bugs": { "url": "https://github.com/chrisnewtn/pg-rdf-to-json/issues" }, "homepage": "https://github.com/chrisnewtn/pg-rdf-to-json#readme", "dependencies": { "ajv": "^8.17.1", "fast-xml-parser": "^5.0.7", "html-entities": "^2.5.2" }, "devDependencies": { "@types/node": "^22.13.5", "typescript": "^5.7.3" } }