{"_id":"@digital-piranesi/iiif-manifest-library","_rev":"1-6d36f623316056d9846c2f52fd260a76","name":"@digital-piranesi/iiif-manifest-library","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.1":{"name":"@digital-piranesi/iiif-manifest-library","version":"1.0.1","description":"A Javascript/HTML IIIF-compiant manifest library","main":"build/index.js","scripts":{"build":"gulp","start:gulp":"npm-run-all gulp start","gulp":"gulp","start":"node ./dist/main.js","test":"nyc --reporter=lcov mocha --exit --require ts-node/register test/*.ts"},"repository":{"type":"git","url":"git+https://github.com/DigitalPiranesi/IIIF-Manifest-Library.git"},"author":{"name":"Walter Pach","url":"wpach@email.sc.edu"},"license":"SEE LICENSE IN LICENSE.md","bugs":{"url":"https://github.com/DigitalPiranesi/IIIF-Manifest-Library/issues"},"homepage":"https://github.com/DigitalPiranesi/IIIF-Manifest-Library#readme","devDependencies":{"@types/node":"^16.11.4","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","browserify":"^17.0.0","del":"^6.0.0","gulp":"^4.0.2","gulp-print":"^5.0.2","gulp-typescript":"^6.0.0-alpha.1","gulp-util":"^3.0.8","mocha":"^9.1.3","mocha-logger":"^1.0.7","chai":"^4.3.7","nyc":"^15.1.0","path":"^0.12.7","ts-node":"^10.4.0","tsify":"^5.0.4","typescript":"^4.4.4","vinyl-paths":"^4.0.0","vinyl-source-stream":"^2.0.0","webpack":"^5.61.0","webpack-cli":"^4.9.1","webpack-stream":"^7.0.0"},"dependencies":{"xhr2":"^0.2.1"},"directories":{"doc":"docs"},"gitHead":"05c20adff9c54bd470932fe7191cf315dcd70e33","_id":"@digital-piranesi/iiif-manifest-library@1.0.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-ZxL2DwMVHgGaK78iYPo1WWphbjlvMXJGBbU4u8INyuVHAGJ9qNRvXJP0//ywMgeZLKAQJZH78y2z8wWY8E7+bA==","shasum":"bfa2c71e7e2627329d82aed8c452c0e17b3f7aa9","tarball":"https://registry.npmjs.org/@digital-piranesi/iiif-manifest-library/-/iiif-manifest-library-1.0.1.tgz","fileCount":42,"unpackedSize":84146,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHL8Jn5oYcRfl7EmO2/KkqsbUwFpldaI4nsLjVMjBbxfAiEAx4JAIlTFVZZ4QDI9N25y66amEYf4zWDkqRR9nXKCGIo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJGEcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZQw/5Af75X7jg+Q8sLb0U8Cqt6kR5kOr2UvHo7qBzXOTmfqG7uCOr\r\n9t61GU9i7r9k3XfunG86Ht9DmRGAYPnIktJF+mlZOUzlNEsPhRmB5ARQbDEk\r\nssrVOfVZkyr4xMbWR1OnbDKZTb8/n8WTcQULGyziw8xwqXCW3PWmZoSO0cOP\r\nSL12HD8G0zrvCwFNYneXnQt+xDQcp0aE9m9YsZv3QDLD9C0GCZX95ewK2LDk\r\nOHNcye6Xot51Go09X+iHHG0fagX+1NoDzWS1FuPzTL0QsMeyNu69XlmEWu56\r\nRGU4qvpRW0XfswDyq2cRSEuTaOk5NMnoX7wTGFXV7eG8cbmEaTzF2BYWdua0\r\nnK+3vW6gP1ReTkEfWB0gHqw6sJ3hT1p2zEH7VPAMte22F9SCdJ5vtP/MZZZ7\r\nE6ujhyTHmhiM35f7++QKIAmfAFsNbsg2CYKSxDa/MxPp277RJ5WQDt30JIUi\r\nbtkNjfowFY/eqyDX6WxVu8oOpmY+6qHFbpghNZGYUQsJ8nDaJMLiRLnJ2tfQ\r\nN2Qyyi/Xa6jMuIaCs9Cq1NOQsJljTr/i6sXXlCrUR59rEvfp0NTCb4fBiyzl\r\nGJUpWcH2HLeb8bp1LfqgMTgHrgtxOCap+QhSy7nC9vUWTbrX0WdUBC3Lavco\r\ncNUxc1SJqUGCuC/wK6JOgA4VmHTLscD0UCU=\r\n=F9Zw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wpach","email":"wpach@email.sc.edu"},"maintainers":[{"name":"wpach","email":"wpach@email.sc.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iiif-manifest-library_1.0.1_1680105755783_0.7706520614523005"},"_hasShrinkwrap":false},"1.1.0":{"name":"@digital-piranesi/iiif-manifest-library","version":"1.1.0","description":"A Javascript/HTML IIIF-compiant manifest library","main":"build/index.js","scripts":{"build":"gulp","start:gulp":"npm-run-all gulp start","gulp":"gulp","start":"node ./dist/main.js","test":"nyc --reporter=lcov mocha --exit --require ts-node/register test/*.ts"},"repository":{"type":"git","url":"git+https://github.com/DigitalPiranesi/IIIF-Manifest-Library.git"},"author":{"name":"Walter Pach","url":"wpach@email.sc.edu"},"license":"SEE LICENSE IN LICENSE.md","bugs":{"url":"https://github.com/DigitalPiranesi/IIIF-Manifest-Library/issues"},"homepage":"https://github.com/DigitalPiranesi/IIIF-Manifest-Library#readme","devDependencies":{"@types/node":"^16.11.4","@types/chai":"^4.3.4","@types/mocha":"^10.0.1","browserify":"^17.0.0","del":"^6.0.0","gulp":"^4.0.2","gulp-print":"^5.0.2","gulp-typescript":"^6.0.0-alpha.1","gulp-util":"^3.0.8","mocha":"^9.1.3","mocha-logger":"^1.0.7","chai":"^4.3.7","nyc":"^15.1.0","path":"^0.12.7","ts-node":"^10.4.0","tsify":"^5.0.4","typescript":"^4.4.4","vinyl-paths":"^4.0.0","vinyl-source-stream":"^2.0.0","webpack":"^5.61.0","webpack-cli":"^4.9.1","webpack-stream":"^7.0.0"},"dependencies":{"xhr2":"^0.2.1"},"directories":{"doc":"docs"},"gitHead":"2aa586e53f26c128b19e7223d8535db906fc5b57","_id":"@digital-piranesi/iiif-manifest-library@1.1.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-8Qkf2Xs8TF5b0UT6VJPVYkaU02WBqjD6Kwxl8LP4Lj/xtsqS9FJK2rMxc59kOa1T7pJ1noG3UTs17FqYyY7WoQ==","shasum":"e67eb3a81a630b67cf843a8770645536df5f4f38","tarball":"https://registry.npmjs.org/@digital-piranesi/iiif-manifest-library/-/iiif-manifest-library-1.1.0.tgz","fileCount":62,"unpackedSize":130605,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCf96TmCw0UpdqdmzT87FL0yDq9q6CE5ZOc4wP00kU5AQIgP1DXtV8QnZa3hTLOr+vAcFWuV5v6UmIhQ61U6RT7djc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJGI0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoz/hAAjUGpxuXdplbwZKTMy6AsXF2a5QB3F0Y2tFFCfDJmb45mBANx\r\nLrDDb3jv+6cB1iW+bclx1FDb3agcfwn+7ifguXROKJQH/+LqIp7U/IER1E+t\r\nhbQjeJMlD1sjxScK2667u69dJBQTzjCDiG2hpXPxMDksfE/rKlFkCAl7igZo\r\n6X5aBHqwMlfekUS4ujl5KJYnrgEVskno13RDifjNNFQ+743Kb880YtWkDkQm\r\nALS2KurGGFwtOGncQEXPXg1h29VLCmX68TutJwNisDLfv9iBqJ05rrVcLsLZ\r\nH1q17O4ec/nccyl/AM4tqci1v0/wfYLzDUZvVoFe00CWNBC0xUjeYXWdxW1h\r\nPwY8TsIhuxF0rBk19T8b5/f3WRet3QjqYHGP2q2bDjp5iKX+PLPeDmq/tDfK\r\nJ8TUIgRRkmIguLzwSyTEl1mwliJTRs1cb3pJjepkzTOP+osaRScv+uUmfZbP\r\nnHhvvRZnaDWW6mW2r5nXp2wdm0PP832/GepsBe6RxuZNl+YmbHtM1UpL5oML\r\nsZeuoYkPGkBKDy+8dAPDoIXZ6tQ4ReHc4rn++AixEAozDcdx201wHKCkIUPV\r\nzPoJ3Wz1dwROKboa16QUB2p2MNtasZ2I+doy/4awLh8Hc9l6R4fF+notgItP\r\n7dG0l19sQF3BuJOz2N7qovTXPuNVmbAoD6E=\r\n=7RZn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wpach","email":"wpach@email.sc.edu"},"maintainers":[{"name":"wpach","email":"wpach@email.sc.edu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iiif-manifest-library_1.1.0_1680106036011_0.19263819173726526"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-29T16:02:35.596Z","1.0.1":"2023-03-29T16:02:35.992Z","modified":"2023-03-29T16:07:16.367Z","1.1.0":"2023-03-29T16:07:16.232Z"},"maintainers":[{"name":"wpach","email":"wpach@email.sc.edu"}],"description":"A Javascript/HTML IIIF-compiant manifest library","homepage":"https://github.com/DigitalPiranesi/IIIF-Manifest-Library#readme","repository":{"type":"git","url":"git+https://github.com/DigitalPiranesi/IIIF-Manifest-Library.git"},"author":{"name":"Walter Pach","url":"wpach@email.sc.edu"},"bugs":{"url":"https://github.com/DigitalPiranesi/IIIF-Manifest-Library/issues"},"license":"SEE LICENSE IN LICENSE.md","readme":"# <span id=\"1\"></span> IIIF Manifest Library\n\n[![Master Branch](https://github.com/DigitalPiranesi/IIIF-Manifest-Library/actions/workflows/build-master-using-gulp.yml/badge.svg?branch=master)](https://github.com/DigitalPiranesi/IIIF-Manifest-Library/actions/workflows/build-master-using-gulp.yml) [![CLA assistant](https://cla-assistant.io/readme/badge/DigitalPiranesi/IIIF-Manifest-Library)](https://cla-assistant.io/DigitalPiranesi/IIIF-Manifest-Library)\n\nThe library was created to address the problem of translating from Scalar's RDF\nJSON-LD format for use in IIIF Presentation API-compliant viewers such as\nMirador and Seadragon.\n\nThis software aims to be an easy-to-use library and command line tool that\ncan be used in both web applications and as a utility.\n\nReleased under the Apache License found in [LICENSE](./LICENSE)\n\n# [Documentation](https://digitalpiranesi.github.io/IIIF-Manifest-Library/)\n\n# <span id=\"3\"></span> Building\n\n## Installing Dependencies\n[NodeJS and NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) must be installed on the system in order to use the package manager and automated dependency management.\n\n```bash\nnpm install\n```\n\n## Usage & Targets\nWhen building the manifest generator, there are various ways to build it. This includes building a web-compatible JavaScript library, a NodeJS package, and a command-line utility. By building the project with various flags, you can target those environments and exclude all other source that is unnecessary.\n\n### NodeJS\n\n### Web\nTo build the library as a web-compatible JavaScript library, use the following commands.\n\n```bash\n$ npm install     # Installs dependencies for building the project\n$ gulp clean      # Cleans the build environment and removes previously built code.\n$ gulp target-web # Builds the project with the web library as the target.\n```\n\nThe output in the `dist` folder can then be included into any Web project. The file `I3F.build.js` can be included into any HTML file.\n\n# Usage\n\n## NodeJS\nInstall the library into your project by running:\n```sh\n$ npm install @digital-piranesi/iiif-manifest-library\n```\n\nThen, include the library in any NodeJS script as:\n```js\nconst I3 = require('@digital-piranesi/iiif-manifest-library').default;\n```\n\n## Web\nAfter building the project, it can be included into an [HTML file](https://github.com/DigitalPiranesiStorage/IIIF-Manifest-Library/tree/master/docs/examples/HTML.md) and used by accessing the `I3F` object. This is exported by `webpack` as the container object for the library.\n\nAll available I3F library classes, methods, constants, and functions documented are available through this object.\n\n### Example\n```html\n<script src=\"./I3F.build.js\"></script>\n<script>\n\n// The I3F object contains the library in its scope.\nvar label = new I3F.Label(\"en\", \"Hello, world!\");\n\n</script>\n```\n","readmeFilename":"README.md"}