{"_id":"get-dois","_rev":"31-12ff345773bb2a573cacfa29fd95f73e","name":"get-dois","dist-tags":{"next":"3.2.0-master-3043577819-9ca4db98","latest":"3.2.0","6-dc-relation-should-not-be-fetched-from":"3.0.0-6-dc-relation-should-not-be-fetched-from-274459359-39d33d99","7-add-support-for-figshare-s-format":"3.0.0-7-add-support-for-figshare-s-format-372922930-ae2fbb22"},"versions":{"1.0.0-master-466ec3b6ede17eb1d8424c94fc8210b6e837311a":{"name":"get-dois","version":"1.0.0-master-466ec3b6ede17eb1d8424c94fc8210b6e837311a","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"^8","yarn":"^1"},"author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"466ec3b6ede17eb1d8424c94fc8210b6e837311a","_id":"get-dois@1.0.0-master-466ec3b6ede17eb1d8424c94fc8210b6e837311a","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-Ffkc7GwSeOjW5oyZkRHkyUKdEKsdRYANGulVhK/muAGvPaO7dT33Ky/KiEVmTRmAtV5oxJtDhviTsk0knpLOQg==","shasum":"bc8bde779766822fa018052afd8b7637d0ac3253","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.0.0-master-466ec3b6ede17eb1d8424c94fc8210b6e837311a.tgz","fileCount":19,"unpackedSize":186036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7bpvCRA9TVsSAnZWagAAIWQP/2gssQERJ+1x//YSAKTU\nocWdjer5EGZ6S0UX2YiCR9RXB2QFjXj73QVTNQch7NJrIsmlQwWOYv29VCjI\n/BMe8dCTpk9e0wg0yHqOA3imQcfWhfpAG2nTNmM0IJLgYTKYAmrcL1iD2gSg\nVCrsfudvj7O+CED1f7608utdq7tz1hIE3GNZVahj4NbTIsXRKnMZdc4Hr9me\n1lcE6XYVV41HmPIhalUkYTy9o1Q/8dkohV9+MUrsiAIrvD7CpK7PmE4NyAwn\nJ6U12rExXM+Wzb3icaotUFrq/r8/M61wqdRGbzGIOes+fxrM4FWd+Dj915kV\nSmLR4vmksfyTkm7G5uJCxGrQTudSXhTDFbBGNTf35gUa6z1kY1Fb3MpA5xeN\ndNOnfzw4xmCdVRIb+XjGCumklNo0m3/qVaBHyiUPJ5yKskczjTx9+vhmzAGo\nRMuAAHk15Kc2mV+PAj67n/yUqkq32edlAxiLtbCKazZ1HLIEL/uBV2k7KmRi\ny6Ufs9mjs1gNE4zV2FXs4WjK19IVGHJWAk6cVtdU/d5ntXcXOaoCQZHObke0\nTxiA4sNFwNmHGy0iYzTLaMrlHxkJse3g5MiInwl15MJThIE6YEY/UDX4YUb2\nFcBezxN0eg2r13s3uxfvazKOP6KjwhxeT6MMP8QULxd0RANqqD7MgLcDc88Q\nCQ5T\r\n=m2ae\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBHQptPS04dP2eR+HuzmiSI9Bb+fCgHuEP8eGGjBlF50AiBjpFx1u3g/+GLeiE7QenNNDazUSukBafxc9S2zAqCeyA=="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.0.0-master-466ec3b6ede17eb1d8424c94fc8210b6e837311a_1542306414518_0.887930992140163"},"_hasShrinkwrap":false},"1.0.0-master-52557781f15ce177e9d2e2f51fdb8740cc23bb61":{"name":"get-dois","version":"1.0.0-master-52557781f15ce177e9d2e2f51fdb8740cc23bb61","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"^8","yarn":"^1"},"author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"52557781f15ce177e9d2e2f51fdb8740cc23bb61","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, etc., and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@1.0.0-master-52557781f15ce177e9d2e2f51fdb8740cc23bb61","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-oKZK1Myarl9reJUdqI3Fi0+q/dUi7uK549hzuFQRoca1WxMMICIOgXI1cGu0YG070IB5I8CdGX6CsGGKUVOJ0w==","shasum":"5bd855c896d78b22997dbc1d0e331d7e5da9b2ca","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.0.0-master-52557781f15ce177e9d2e2f51fdb8740cc23bb61.tgz","fileCount":19,"unpackedSize":186616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7cW4CRA9TVsSAnZWagAAMhYP/1sC2zQnREU46GhRX5tY\npOzcYPMMC3yV4OfXoioyZQVODSuHuH2mfZka73ZX34F+rFfqDBESFXUXe9SM\n8Xki+g1bPKXctzX8Ok/MJEwRvPIR1PXMvgeolaTIgLoe5f2D8JcqJ/Bt6kVU\nJ8DedzQAoa29bqX/VuGs0NORcz2UoDBD1cXNI/iRBFFoIMdTgq5OCLmz83DV\nFrFGtCplL7LJRhQriEE3Gm8HW/6ahXoZcpNDnHa5fJzEs57DbPelC5d518vT\niLAXxXuaZCxdwlOTysXCwO+xbKH6uwB9lxpWWcIA/OxWJXuDsLzDLMFernEW\nHInTyJTY4V48CIU9a88kEfWzylSLZyjobsVIJtrdTDG9GEqS8YZKTCtLPRO1\n82JGYCGNsTr3uHKXeC08mOp82sAR6RgUsOlpDQTjfP+mjX+ouCpY0RsO/BmF\nhtCJKBO3AzYmd2m+NWRaijI+Z77m3ldsVAn9o3tT6v2ngp0a0BbTCse+9jQ0\n0TX+RA8gYNq6mkKUjnQDzbrikLEJWRckkZnELV6CGJcMPJKHy1XvxDpTi1H4\nPcAEQNa8WWx4ze54V++N2k9pe55Ac0jUcceVmHWWEIoq95iA9nhh/d3hyu4c\n42tVA7487TznR1BebP6cS/uP3LUG79OcrgYbN4pzVVIucWDjyWlrxL/kw3Kx\nnEm+\r\n=4ODV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr89Qd+NpuWj0IANTl8adyIcZVvzhUC7+3E0Jw5VwFLQIgJpZcQwRVdDTqgv2fn8dIQuZ4iv86iTul6VvMLZZYfCo="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.0.0-master-52557781f15ce177e9d2e2f51fdb8740cc23bb61_1542309304247_0.22360491921419623"},"_hasShrinkwrap":false},"1.0.0-master-cf4a133e5f972dd142c46fa484a6c14d946e365d":{"name":"get-dois","version":"1.0.0-master-cf4a133e5f972dd142c46fa484a6c14d946e365d","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"^8","yarn":"^1"},"author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"cf4a133e5f972dd142c46fa484a6c14d946e365d","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, etc., and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@1.0.0-master-cf4a133e5f972dd142c46fa484a6c14d946e365d","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-euGtzBbgQj1MgLw8DKqc+lC6N0FZnQSbBMXXk4aPWfi3iKTQguYTUNKmphHVfLo8Ok/JVgtZYoYXBj4dEi9abw==","shasum":"928644b62d2ff935173ba292856468960db697e9","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.0.0-master-cf4a133e5f972dd142c46fa484a6c14d946e365d.tgz","fileCount":19,"unpackedSize":199945,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7cprCRA9TVsSAnZWagAAo6UP/37UbPI/C+0HgFWCKkSE\nIScGbmz/+yEd5FXCX32zS1g/yNQytFhCSBpUuYEj/+2Nl83aIXzBAnA4tTp4\n5LGHxtQqQz8oqJteW8d7186Tl0uAGKDxT6ac34hx6eiWOTQ02AykqiSxsOPC\nwQ+lSGB6TRtNV9AF0+UATOj83kh+HHv3ZXYbzpxOa2ggqHKRzPHuVrZ/I1l7\nawF5VhEyqVKmpkhf/qwYj38Y34NvAHI5Bo4C7/P/UZxoS/QwG12XM0PNke8N\nGiQD/vUF+lzNGan1CXkj5mandprHLN3Ev/Wksq3hy/2/MpIA1bxmxYAFFF+W\nujNJ3+9npF8LwyRENVCUjj0HPxtDDqtB1ZUdYSC+vYypwps9nofFmwrQbGeb\n9dBfp+tbE19Y+QxFxhpS65MZ8KDWqJqX6UCzF09DDsMOjZgpcBwmXzMbUDje\n+kZGNADi94jMTfG9AvGyzfuy4QdRpocDy2TZBWHvMscPW5GfokAHLo3noCY5\nXICpsVd5l6WRRFBsxk9OdQoIv6P1Yyv5PN/Rx5tY2p4pcOp64xpM/eRvRH6c\nwoPRsTNxPP1N4Fi9HWWM0+jeg1imqEkuZY8sRVL16E1Z+jL2aLM0ZoE2gB9T\nBjlyxR1bRF7TCbRiMOGhK//tgRTN1TLhxqfOPXTcBEttlwJp6Gkcz0whKDNp\n/UBF\r\n=QETK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBsuAwctS51aI5tsmaJIXL/IKYB9em9SqcABV+P2HDS4AiAl1L+TEEi4Ni4jxGlqA5OLVY7Q8p1hKA+lfmI/tYf84A=="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.0.0-master-cf4a133e5f972dd142c46fa484a6c14d946e365d_1542310506399_0.8877359017136952"},"_hasShrinkwrap":false},"1.0.0":{"name":"get-dois","version":"1.0.0","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":"^8","yarn":"^1"},"author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"cf4a133e5f972dd142c46fa484a6c14d946e365d","_id":"get-dois@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-ZtkI04ZRrW9sWtkVJNxUrTZqFiPQKKcp/GBbvcdXybkIh5pZKqDDqf4FTUffgDIbqSx3whYfrNKor6mKBwCjiQ==","shasum":"f7c8a8dbbe6ebbc0b869b3c8cfbeb82d259338f6","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.0.0.tgz","fileCount":19,"unpackedSize":199897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7cxLCRA9TVsSAnZWagAAHWUP/R67RrWmFU0Vaapkj/xV\nlDpFaacWsAL2HK3uVJD++DxiZuKdUWUn58WoCVRVi7ZVkKSlLiHmJ61tlQoH\ne6FNc78+aLQFwPErLlyVK1m9OwwFxB6N8HcGm5J3gYhspSGqEkajfNrxp2pS\nplTIauLT9tILqkPZvZ8JVhHQhs3ysOn3kWm68YMwJ+slMwCfzcm2s2RrwLgE\nvHXTRd+HIeq61s5LZ5T8Vs7Dir38plbksOJVNcZjxtn9m/NZI5XHR63g5d9v\nIggTDa8iSWJfGCC7DbVfLz0R72JpepUogK7MVyRIli5k/xaMCjzjSFTlTfb0\n5iOdxN70J++Odmn+BKdYcagTkGSbrnPcvqFUjGnEXLMRySwRHlNtfXID+6Fq\neTzjMNxPedOi5hvzsIRgJLqlBCVzJKQGsyl37GT2SOd7peAEA5laYTkWR+8J\ndW263I+5ed/+Eyc8ocBRF4FE0Yry6mdUNa8UiWoQeEKQ4nG9lZ0ZJiHLwlsR\nFHT6MWjkDoAGQ4Z9qvSnG/aYFcjfSnQ7DNbR1YnwxIVLQX6O4h8noF/haYfj\nkqrzTkz5fPgsy2elDQMKO4g86Q7wdJnHnBqNh9jKVjubDZe4Z5eWrAsWWmIL\nSjL1h33KyjaORFw96y57+Jr2f0gwOgJbODd2efMwXBTOt4cplUgk86evtdGX\nrOeO\r\n=1G3W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAalEkGmAp1Xks+um5wTWwEc++n0uipi4GrPxZz8/iJSAiEAjooN+FvK7YCfoJIt5w6CLeWEw/h0zPGWBBHAC6/n4tk="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.0.0_1542310986441_0.20200059788504743"},"_hasShrinkwrap":false},"1.0.1-master-21da7b8a91095370bc46a1ff63fa9e56dffbb3fc":{"name":"get-dois","version":"1.0.1-master-21da7b8a91095370bc46a1ff63fa9e56dffbb3fc","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"21da7b8a91095370bc46a1ff63fa9e56dffbb3fc","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, etc., and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@1.0.1-master-21da7b8a91095370bc46a1ff63fa9e56dffbb3fc","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-TbYapbh0/Wngji2YqfsKAj4FypQy/mzFvhQhIZPNoV0dz96l8+VSwTyU6d6LHUGmK+7VwSTp6Dqke9bb6nLz4A==","shasum":"dffa244332ef688436e1d98ce519e7f9ae6c116f","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.0.1-master-21da7b8a91095370bc46a1ff63fa9e56dffbb3fc.tgz","fileCount":19,"unpackedSize":199977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8s6wCRA9TVsSAnZWagAACMkP/1Z0VraXlSqcmec/9v/z\nWi4zj7RUIhUxTK0bOjL8eHECJoQuG6br+uAaLqELk/X0y1YutfUP0ER0tSfX\nuvvnD8NPjqv00E1To7tOCYX3PgrYD+VqJPmaRiZZp0S/GlgEZCmKGj/MRr9g\njD7WHtYbsFjr45QT5dkd6e0M/vPF0nWTEBMdqiqxVzEdIMck2H5C7hG35Mmm\nfcUAk2T1f5U/NF0UHLnMt+mUTz8nXHxf+R+9MvgGYdjAiE35aXZ8+248McO0\nRTJ6daTf0tgLhhF9PcCz4G3dgydlIi0SUfQJ2TpG+Dwzu7ApbufXzF0tlplI\nvSvOpqyIRUzrqzyZcQfUbPX/MIfkU5/lE43YPYB+vOr4Y3FnY8JCsmxHMyXY\na7wCvaCBeqji2vdbrAxkRIZjQNHEVZmiQiE0dN/i+WtdFAtT7M835Jfqd3np\nmS7G9NhimaeSt/8jdYqKrAGl56VcTmnSvTiXaLd4wcXKHfD8eZF7QPxCsdqb\nokV548z7nMMte8XgbeQ22Eik23Jy2UL9lrrJZ4zGJpr48zkLH7GIgIuIcv/a\nE1hL6P2GX2ApySYmWNk0nQBtFNa3uikecZa+6R+lS+ESsLIX3mM8h0IjzyCF\n+DI+v4PyRAKhfv3Gimq4xzDFW5yRfbbo+k53FSgqaWQZgYunI8wz6tDFY/3a\nksDr\r\n=ffHg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaWAKlcRakmyot8TuvjURpaGhSHyZA4MS7wdHwfwFMlAiEAzQHlf5R1SzsdDRkUNVfJGSAgPWV/j7z+iiMJM8wQ9EU="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.0.1-master-21da7b8a91095370bc46a1ff63fa9e56dffbb3fc_1542639279882_0.8131876041530857"},"_hasShrinkwrap":false},"1.0.1":{"name":"get-dois","version":"1.0.1","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"21da7b8a91095370bc46a1ff63fa9e56dffbb3fc","_id":"get-dois@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-4nQiKQoZmaVdJDyZPipZbPwkGSABWZ4bVHd9/W873KaYqwphpPISblclLBxiZFHGbD+b03nKKJoudrXm5Vf5Vw==","shasum":"fbd1d8dadfcd157b73e7a8322f7070a4932c2662","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.0.1.tgz","fileCount":19,"unpackedSize":199929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8tArCRA9TVsSAnZWagAAIEgP/21evitaaEckA9BT5hmq\nsQoB6J5Hw5kjriDlnO1hZk15N5DLW9Wpk0keeQrdl7GbsUi2x+7Fo7QCSL2u\nFs4x95Au4PDDkcPcQaEoXPfMz8MLh3HmWtFbNs5BxWTWSFyQDvkmDgXj2vtU\nBGtudYFzm35zphu2t8zUdiriiPqcAwBi7iATvv6roYl8SgCxpwK5QWq9pCN5\nfIgRiTmc6Qt8w9ex0sXWw/lRV+hFV0ThdXwedULuGK5tNVAeXHZ/6jmdMzxz\n7kYcRVhKeAjjNztmGKTUIz0ePdVb8GT368yGB+8RTjWy2rw3ZG/g5nvm+CHp\n/EBqgcNcRSXdv1A8/ahNLD8qqQwI79tZKXGww365dydOw5ATZi+D5nF08QPy\nKATFvggpF0MgxUKFwJZmSPYhRQ1GD8B7L9D8VL+BLvMa9OjPj0LVc5AUK8+y\ndj1X1IO/dVd8yb+ZNdP4hIpS4tDHnUOUzpp5CtmtjBnSSD6SYYJ2Sto14qOh\nubvpMil2n1AMwcfW7nc7EuDiQonAqUmp0GdpwCZf28wfX7Hx+pTkmSx/htfc\nowq2jYSI+GXYuLvrMffd/SejuKsM2SlLG2gagpdf4xLGHQ88W4Ne7zTkYeSG\nwGAKOlID9atL8LThv8InE820o+aUBa2oKODFkUMKHXT6AkqMzR/u9JvSAdEk\nv1do\r\n=bOSc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEP9zUoW+YDj6mOSTQ1oH1w/PFtWG697kbPSEgCTEWrbAiAqlg6n/Rkt2hOc9VUanZz+eZozdo5Xd4PTp+28z9rKaQ=="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.0.1_1542639659355_0.6915651092076043"},"_hasShrinkwrap":false},"1.0.1-master-67d90a8bef540fc30099eeaf4f8b3dbcb2c9392e":{"name":"get-dois","version":"1.0.1-master-67d90a8bef540fc30099eeaf4f8b3dbcb2c9392e","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"67d90a8bef540fc30099eeaf4f8b3dbcb2c9392e","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- Dublin Core Schema markup (`dc.identifier` and/or `dc.relation`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@1.0.1-master-67d90a8bef540fc30099eeaf4f8b3dbcb2c9392e","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-m+xBx8avJvXHcwqQdgM+x8ukXZdjPXE2doFlOfvwz9Z4Bygcq931s9SOD11Z6ZW3xPIQgr5mPHprPkUuofg+9Q==","shasum":"94d6b01f23049ea4475338edd44ca49d204efe31","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.0.1-master-67d90a8bef540fc30099eeaf4f8b3dbcb2c9392e.tgz","fileCount":19,"unpackedSize":202108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8+ERCRA9TVsSAnZWagAAol4P/0HqiQ1aIbptnksL+Ax1\n3nlYffow1Mrm/V4vemOfTuBjMBKvYToWc1rSDqaXZs0vybGMF8DHBLIlFXUK\ngK8jZPm4nJksJ1ZHCaIxnlBjqfewbwnZ403CKIJAs3yTUt7LurT1SKqsujdu\nQqvItDM/MJg0Cae1ek7wKle8w/EOibawUe8czv+AA7AVmQrnrJehl4bXyXKG\nMVn3qqIZMjmaqgXIn/fTxCVf7T2nO68K7QPoXkYOShiCYn6wKXsBw8yQPWau\nyi/YASCeke7RB8W0Za2SeezLnl0MgXP1VYsUZ8oN4y1VtROAIbipv3zT+K7D\nf7GPirie8Ylm9QVfMQzb/c4L38Qnl7rk2IZNnpRy03JFH9M5neSbGUx4RNwE\n2ykiAr1NZQTULYes70v+X4uX9s8sXJjFirJF6hzm8JMfbvn3bSqR5CNhUOVx\nB2YwqijdJMpeT4CCwQ5UyAMy6y80Y6yS3baKVpRrVixVct4HuR2nYxIpwQHa\nPwPwbt021n3DOPitkRs3LQKrER8yPasGmRr9aAprEkv6Wl4cZ1fgA+xb3vQ+\nRvIRHBiyubezAARqW7JV3dHu5aJjpEhPur89x4sDrqXgC1cmsdbGdrnRnJzE\ncFuHMa7jy/qA/KZ0/4jaS/BKTxYhqb0ZG9S5FzpqDY0bH8/z72KW/P/oSryp\nVyvl\r\n=IaAJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEytdLE2nRynO5e6cf0aajXnoZhLNNvLnGiMBQfbChgmAiBOCfj6s7GROmPFT9dcr3lzuqa8av02R81k7X3NrlAGXA=="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.0.1-master-67d90a8bef540fc30099eeaf4f8b3dbcb2c9392e_1542709520929_0.8449743371041518"},"_hasShrinkwrap":false},"1.0.2":{"name":"get-dois","version":"1.0.2","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"3091946cb9e58b03dadac60571402c10f00cc513","_id":"get-dois@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-2zGqqdecEBQRNlOiG3cTtRxo2TwpWa/NlYIvKCT4Q+scF4aumChhBbq1ahf1fasQDY2+ZbSV4D5z3SEe25avhQ==","shasum":"739e9a7d67d37767c4b40a137c94ae0ea782d39c","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.0.2.tgz","fileCount":19,"unpackedSize":202060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8+OmCRA9TVsSAnZWagAAP/EQAJkwJUFtuoWjHGyYitjh\nBscyZCCmIIL/Zb0ZRILn3fDdPiQbIBpr2wga7U7ihnSBZYqrlZNDrpnFkWWf\nT0ZT62FrUKpLtaRVa4gentJPz3W4ZjDIB0r7sjJMorZCFy47ZE7ATDn2zcYy\n+CqVnIve1uXZDp7zrMNAqYp2LDdk1bJkuZGDonfvKxZkTszSI3+F0aphjy+S\nvOemAo+vQfrY8Qyqxs6YVMLhG22tHY1ogpjN9G7bLYlQAB5Mls+T+xz5Zyos\n7nk2g+amXNFLpVNqSiGXlmz9QbggpbKy1v8CMbfa763O9n3Lq9/QzbqB9d5w\nxBnLnvexxQrObY6kLdMhVeRrmWvXrUd1lhY2R6f/OQMlWmPho3/pDfU4RTWq\ntcuF7hp6tkbUinotVTvSgXa3ucgiDhICHhEDi4eWw0X00Ieh2I1Hbk8Qno/l\nveTE67jxnZ12YDzi+qRyk8M4L2Y9zAALeNksp06UmxcwTOFcWU7L+0aYcio5\nvpg70QCTKfA+NyR5zX5z1Ep/vD6vXQlnPzSe0yYI397uXsWrS7iDd67giWrK\n3tsdNLre4NhulTRl3AHwflUEz4rDcWdcmye8cLbiPL6CXTjuVBpxB4oj+ftJ\nE0fRZl9WAOp32AGkvgG4sERoZACqeDNsDYmGH3YxWDOOuw9U7Uo/jZEEJ0Tu\nZBAd\r\n=rwV4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHYt1fbi8B20l3+KiszUcK+Ecmx9iykfK4d6tEPy2HUwIhANmFIKesMcciW6AO16mKT56upBKQY3AT2syKQ3V8BwwV"}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.0.2_1542710181329_0.8197214145272398"},"_hasShrinkwrap":false},"1.0.2-master-3091946cb9e58b03dadac60571402c10f00cc513":{"name":"get-dois","version":"1.0.2-master-3091946cb9e58b03dadac60571402c10f00cc513","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"3091946cb9e58b03dadac60571402c10f00cc513","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- Dublin Core Schema markup (`dc.identifier` and/or `dc.relation`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@1.0.2-master-3091946cb9e58b03dadac60571402c10f00cc513","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-BVFrOLyc3n86N7+g+NFyfxQhyovo8bhQaG1s0i/Z9oyVIU+PUDo7+bmg01EaoPAzwxHNuGQ/4kE2k1n/MyBJ7A==","shasum":"65abd10aa7c18b52d0ca1d2e878ae5c5b3495379","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.0.2-master-3091946cb9e58b03dadac60571402c10f00cc513.tgz","fileCount":19,"unpackedSize":202108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8+PFCRA9TVsSAnZWagAAyPYQAIsVeDmZ3vpHRtXkPc6T\n6k2dN9PBXqzIJx3m6HMNZvqEgvQVJEr5bn/43AE9PwlVvTgz22NQWapbUSIh\nCZLRmDHVGEGNp0x7X5oiBYiyUcK+XjQ+4dZnFWgRR0PhxMJRnstosGJqXt0E\n2MOw7oUGUWOGh1bDBe1vWifAmVxm5n5or0zMSRerD5XIDC4nPvwKlULSdl4A\nyi9bqGjKbLWJ6h6jq3h4dlo98wmuBve01CapA69lh83kt6pLLaXG6rLuC8Qt\noRKXWc9lhYLTPsNNxY71rY/3vj2Cs0i46iGRq10KPzV0h9H3eTeroguyh7Ul\nqhiOvtmdleVpswg4xs68TLcn8MH1dW2UoZ6iaiO0JeSyxTM+KQlo7+2n18kd\nuUcSsuIplsMyX3EY1ROZNfcwgGvtAj7oL/ngK+rLv0RpudYH7V6VWa1AWvMF\n7PeRRy+xA6ftv3CThHIcKYmL4k2rYktUCJAxB1j0m42n5XzTAOX/HqnJSDKJ\nbS/1qN0TqRKM5kuxZ2xNVM2nnPfAxTLCto5mAmqUWLiuEwab8FqpT67wbayl\nwQw9skN0OBtiCiLb60TyFwhDlMxuB/cFWngWcJ73N7KqKxMyO90sazfhhKC0\nURtkJ8vQ1hIAyUvr9moLgeeF9qCr3CBua1R+wrkumOTwRrn8hFSGdz8j6aHF\nDabM\r\n=6Op/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFv9RnXP8QClWzik63sJPpbRqyqHFBFGx7DQdB8/cQ2nAiEAvyDquZqYmu28utuHp4Euk9Ikt2pj03xQlTfnHAS/RAc="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.0.2-master-3091946cb9e58b03dadac60571402c10f00cc513_1542710213079_0.31024751702017617"},"_hasShrinkwrap":false},"1.1.0-master-e05556eedaca8d2c7355c50db758af1286e3adca":{"name":"get-dois","version":"1.1.0-master-e05556eedaca8d2c7355c50db758af1286e3adca","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"e05556eedaca8d2c7355c50db758af1286e3adca","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier` and/or `dc.relation`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@1.1.0-master-e05556eedaca8d2c7355c50db758af1286e3adca","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-SiZdYoBDinWsOXID5E9x2LYu6B2mHZo9lMRV7l+Fj9wCTLxWMrzDK4bnj+ROzvcwUMuBGVYOSDTz6IXDSzwiUQ==","shasum":"45228e87d8986eb69164f389cc90a128cd08b3a5","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.1.0-master-e05556eedaca8d2c7355c50db758af1286e3adca.tgz","fileCount":19,"unpackedSize":206908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQDowCRA9TVsSAnZWagAA6UcQAKHKFGfOdEdHW4wmXq+U\nM9x7WP3BswHY5vMwgrfe23Vl4djsARFqlEL4Kvv+jONAsoP22zL+mKN2dBzg\nEhw/ASamdIH3MgptkadY3n91+2hg/Maq4s2ADMDG7yFSkisnwWIAPSjt9lpQ\nOAGxUiy5a7LB11tiz8hxDFHxmcyH9J6UWNyN6OgBVggsIh0dtWVzRo0zEO3v\nGcLA8AhlQ+QAU+BomR36X7G0GRYKF8AREDXpOvBlB/sCALkQu7zhQV+SDU9i\nfI7eCrDpcDm/qSVnuqoekq0Uxp4dQEpLZ0oDyBWYy3PxfQqRlXzoZkZcjsgm\n925p807GGnZmUUaSC2kNwm0//WTBnptvuahxTOcRScqpNhgpsCguZhErWV0W\nHdlyesKPIdU+1pR/VabhKkhhom3NJr9Edhnvm25Djw6ebszhtvT8i19/8xY0\nLXg+Q3ne/rdiMSVyq8KRFozsa2XPyc+ooiLqwSfmejdj7tkj+qIp6NqTSAdR\nPl+5+YVECjk9E8FXIV+TkugGZuzWVmQvEgQf9uqULLALjTNmT/7zKmG08F0S\nijwvmT5+NNjmstmO9gvKoETHCrrt7/+NlPM1lZjxBTjqSbCXIo3LppORUovA\n3QeuuS9lvPXMbmiqqLj8Ad2GIHlLRuEsk1GATpQCTrSN0nrX+gL/UfCowpZu\nSWD9\r\n=KoIe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPMY1viIDjkYKeQIbK0Z1d3pnw7zaSCbH2Erv/SJA6cAIgWy0gKBP7e6l1i2o6iVUaCX5AY23kEL6Dsl9oCyFJTnk="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.1.0-master-e05556eedaca8d2c7355c50db758af1286e3adca_1547713072231_0.7213498626862067"},"_hasShrinkwrap":false},"1.1.1-master-9ea225368dc604264d3d6b6ee250e06073386d9e":{"name":"get-dois","version":"1.1.1-master-9ea225368dc604264d3d6b6ee250e06073386d9e","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"9ea225368dc604264d3d6b6ee250e06073386d9e","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier` and/or `dc.relation`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@1.1.1-master-9ea225368dc604264d3d6b6ee250e06073386d9e","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-wh7luRLBROYWFgekAchQSqiUzdJotcEUSCqsxlEWjoNFzkWI4qlvTzBB4tcnoCPT/ay9v/THiPSWwutl6Z10eg==","shasum":"a9a74cb2c82a9a00b6ba74f1e7c4e6042d22c5ae","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.1.1-master-9ea225368dc604264d3d6b6ee250e06073386d9e.tgz","fileCount":19,"unpackedSize":207048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQDzsCRA9TVsSAnZWagAAMr4P/jVfUT6ILMFeYFtNMrFi\nr0aCXXeL+toC4n+FQh+/j6lLsCc9nl/nq3dONF6Mkswmo85gqUccgRi6ry9v\nDQiKBCV4nXetiILOSoUL0fa2QDyv5CfkwkmENDIhcIIEJRVU1SqE3vGB4LO9\nKN41QUHApS9RYrVKycIIpsE2cJUAbLykopeOjTNLw0PzCWC/ppqxMAGFGgyp\nhxatohugYjC9GlScQqS+XoTGPGahCdkP9SZ6lNehe2rxXuu45gU2/mzhOZYz\nB6Nq1kAVbCEDD0McLBQORT9d18hdXpSBA5tlSNVwSU/BTp820H5dyWZEiZRM\nlmIRI00TW+3wbORHjDhY5I6ueVlZOCT6l4hVDhZXykaWy3KdOGXq+Gu9USZI\nihICT1rgg2B1pPb1GAOT9vT2hmX059AzW19l355OWi3zf0RJBdykjU/cK4IH\nk+R1DejmzHwuWorxK9/KP10SaHDVIvYpNmbDUYVIMR38HSplcAUhVsJ+P6Db\nb1sD76/jxttev9dDZ314GRNuyAPXBjl5csjdmejdLBIL4HWLdZve4+Vawrr9\nJXzu9BqNnzQyoTNb2JgCoTLP7o685Mf8TzNkIfsdyk7mzUlDEiF4fnYlQusC\nye0Zm3PN4Oz1Ig7kNf2BR96z+1A79mCrAsOoAMoEMz43ORETSigqI/tnXrgb\n3eM9\r\n=Wtr1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcI5NHicfUElTndAKtMzODevlhv3AcZ69zVigNUVpeqAIgRT9bLMm4SLOwuT/n8xFL4GqiwZxJQ44yAQ5esyU+G+k="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.1.1-master-9ea225368dc604264d3d6b6ee250e06073386d9e_1547713772138_0.25789968165607013"},"_hasShrinkwrap":false},"1.1.0":{"name":"get-dois","version":"1.1.0","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"c7f2f14b8f259f4708fc8bba35e467f06ff17c4d","_id":"get-dois@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-DuVXtGKQl7azV19zQTN54BTZ83U6hiyOVVCs1w8094MM1gZx6UZF2S0FIcS0oZdWzdmsLPOUUliecsY9Lc3pOQ==","shasum":"a92bd82e448af86c656fa153ade9fad13c02c59e","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.1.0.tgz","fileCount":19,"unpackedSize":206847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQD4iCRA9TVsSAnZWagAAhV8QAJ4dNqj51TTTDJ/E4enH\nb4vfkttTxAV4J24ZciVwJPkmNwxrA14qSwcovsWc3MafymlvIY51AMuFog5T\nCAxkZWXwRHd8u45BsU+1vf0y5kAiol0zUJe+fH+I39IFvTYnYkPUsYGPyrq6\n5UgYlnRpv+c2Iam+9tL7x4pQTVQkj69GmqUJiZVEXnY66XfyZQF0wYoUG7Dp\nHaWuHpD4bv/znt6jBHPumEhpRaWgTuZ0aymbouXFGsPMH+G6zjW0GMFp2yGW\nChmhk6quxtoADzYYT9Mg9ygPNnBAasiYrqVYwYqP8lRtJIffvqQeQh7aetqe\nhIS7qHID841hShUfCrax4kmJw/znsycUnbZblbGMitQ+dvDKPUIU/WJC7ZpF\nh+UE6SIpeFB7F6xZVEBo84qCodvLOiAxd62+vkEbiiwb08Yks/6x2lQwkKI1\nSoE3pT/u0NeldAlBW4i0dVlFvpMl6rvGkHQvd0l7RA9yzJ4ALoW2IaHUQT+c\naDS3wfv5k0GIdoJl4rUWND/OlcP2EXVnqmcA5Nb/2KzhrI1utC/eo5GAVLSN\nZMy84j44//VEXqvq2SFuAWAPS5+J1OdKs+B0pohrIlkjTKnrt3Lz3Qyl+hVa\nzEAnSdHGw03KwuoMEh1opyei08Vv7HnUsao0DWDTeWmZQk4EtgUR4BZqyVB7\nb63X\r\n=mUWW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIENCrUtzeYmqST8xwQNE4j8g71CssUSWXw2umTo9qq+xAiEAhopXKorsfePtc0lF8cKIpJ5J/kzu2njNdTncGqMrwGs="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.1.0_1547714082054_0.10288133178213532"},"_hasShrinkwrap":false},"1.1.1":{"name":"get-dois","version":"1.1.1","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"9ea225368dc604264d3d6b6ee250e06073386d9e","_id":"get-dois@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-ECMYtmYDpH2xo3c2vyluZVQ5Y1IBHY22DYto4Bviddi6o21FZJD+wvJ/cTyGoyoHmVl5SB57McRvnVRsApnwOA==","shasum":"3df870084f99892919d86853e54999116929962f","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.1.1.tgz","fileCount":19,"unpackedSize":207000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQD4tCRA9TVsSAnZWagAAV0sP/iZLGukyBdwwpXHNHFTW\nBvQoV4xXRU9LBZXbNPfza6P0FRHIFJO6Jx351J2jTY2t2DR9ebzv9YtpySVQ\nUNa4Zsp3wg/1Bz1EFXiB+Lk12W9G4UFGUn/vD5NZZucZt7ROzguTPiT6fsyn\nK+VM3SAVbZYC2yPs3Q1DnYVKQP6YsvoaurfhTQj6PNOvr/BeMgdoDd9EdFX5\nhYv6ipmRubtnX5X/CFbDpQvUSm5g0bQh0yW7ykGpEmnUg5cRqVbzpIpwTpTb\nh1Mn2Sr84kf1/UTSgq/pyH/K/4bUdVLn2ggUBLDOAXEi6zOR2pJuvHF1eRUV\nQcrnXbyNjdc6qwkZDWKIn+Tp1MQ5Q0QXFRuWa/MOVDRob5Sxtzg2wa9UTitJ\nA5zA3m7sRukNBElczd/lcruaVM6nitEP+rC8iufzSKYxkXKZ+/JVy3xtAdFz\nb52xf7KjbDCYgTH2Pm47muzzAbom3E0BZKHebbtdEmb5zpcWncsnpn7F801I\nUR7kFiMJowxazm3YYTsHsoa6Dd7qmzFnotXnNaKtVdKJ6p0hbrmuRk0yl6C7\nKM9TbsPF61ul7DbzyXOfDscK1tKDi20E/Db+yPJz3W9tFudIHWL43DsLP0wD\nVTwQNhlFGDqnQi6iOjWCmopqV0YLudcAt1vDlv+tHv891JiIkzKTyU9CCSD3\n0YL5\r\n=HFCc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBqmVJM6GkCZmqwDpAjOrSaFcP4oBhWls6yNVNoDaPqrAiEApUxc4KMU4vJAW3sCYCcghGbhDhoGvfFTwev3SoUxniA="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.1.1_1547714092740_0.08492406429352273"},"_hasShrinkwrap":false},"1.1.1-master-90c2da2c0d5e55613dd4470de6030cc578bb7d42":{"name":"get-dois","version":"1.1.1-master-90c2da2c0d5e55613dd4470de6030cc578bb7d42","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"90c2da2c0d5e55613dd4470de6030cc578bb7d42","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier` and/or `dc.relation`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@1.1.1-master-90c2da2c0d5e55613dd4470de6030cc578bb7d42","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-swsynR/N2QEC/RCfBSTc1xsrUahyxMQtSnr1n8IZt5pkEqPqrFDKURcP7cBKjOKirtz9ld4NTJ2qcynMUP952w==","shasum":"356cd7f323bf79eddbe9e4c534ea8b8b92e2d2f4","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.1.1-master-90c2da2c0d5e55613dd4470de6030cc578bb7d42.tgz","fileCount":19,"unpackedSize":207364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU4oNCRA9TVsSAnZWagAASmYP/19a9IhzokxxIgzeru6z\n8DeD/xHmeeamEouw4oZO7ptTNOg+wM6MdAof4+8AXv8alglPjE5w/oK5ZNES\nW2bhdXumZMZOouQGEasSH14pz1MRb0goFyy1qkqXdk0n2g0FySdSDhL6AmBP\nbk1Q+Kr7NNWu8d9SIXAQoqZSIS+Iy9Fnx4INM+hlHJ1hq1sBlI9TB1MPN9DU\nANBkpGm0356UeVsv5WtBBd7n+W2YPrL4HXe5D4TarLEecBrtM+peOntkhDby\nZkk1u3yvWCgvnd4WzZfgpg/ch++7vHRLBssCWWbUis9lbPEWGDDxMICvtjm2\nEFBJ8QijnQBqc3kPbG12DLgxM9eucFe8SvZnEFkHXZFhTZCJ54tjQr5C9r7R\nn0A6AFQrFTyIi+TbI6zTVs2SCXWWko38kfvV10HEYEm3xUFdvxRTrI6ztx6O\nHr/dxIlwGCnue+XQwZPjUEH+Lv1Ow+3osPj60CKtA9kss0uC1ZrwJZkPiPvv\nEwc0AMusm6+8FBrUbp5ukRUNPtbjePlbCvkBiEwkOKQDes7jW8Vrscl0j2wa\n/UA/bh9NY5es03M/XoR9LCiSGdtpHZZEcoTQaS/aAmNRdrDuIbkaGQXkxHJL\nxA1g71rO1Jloy74wuuxF6J3bE62hEJtEqdj0Ucq+ACeXvomj7iW9JkUYk/d3\nEivj\r\n=iViC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFmurTqH+kGkVXltNEiu1e4By2Ly61luICmCbb+jKIUAIhAJzzYcyzdoKb3h/ww9/0BgBfSXDIApmtDg/YWiD3L6vK"}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.1.1-master-90c2da2c0d5e55613dd4470de6030cc578bb7d42_1548978700557_0.5363190617195095"},"_hasShrinkwrap":false},"1.1.1-5-add-support-for-meta-property-doi-tags-90c2da2c0d5e55613dd4470de6030cc578bb7d42":{"name":"get-dois","version":"1.1.1-5-add-support-for-meta-property-doi-tags-90c2da2c0d5e55613dd4470de6030cc578bb7d42","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"90c2da2c0d5e55613dd4470de6030cc578bb7d42","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier` and/or `dc.relation`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@1.1.1-5-add-support-for-meta-property-doi-tags-90c2da2c0d5e55613dd4470de6030cc578bb7d42","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-slUoqiMJXkcGrTFMlFqOJIwkEcCPnKby9PeqAIUtSDFiDJ/Z6t4ZT2qRbqFP8hZ1hyZ5h6gE2mmw8PGPTs9T3A==","shasum":"91544f73dec66de72d3d0145942e7ddf686bd7d9","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-1.1.1-5-add-support-for-meta-property-doi-tags-90c2da2c0d5e55613dd4470de6030cc578bb7d42.tgz","fileCount":19,"unpackedSize":207398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMdjKCRA9TVsSAnZWagAAWbgP/RNp9A9es21Yfae3l+b+\nKF/kx3yBsP8zFy77QyjW0RToviMGhdsHZiRtG949tGuwxJp2NDnyTClB+gLz\nhDxuX8JNGSkLzNqp3qpgYtDaQMTCMRe19FZdVWQmimR9fsNenjQkhkvcuicf\nbT18Z4pbAghFcmPBSmtf21MpxIh0zJCCrDwUavyE8CVlexyE619RsmtnUqVY\n9XbDaIHImbT4ZKwamQnSc12MrqbJezH0kuiA4Gcw91VqsTINjB/gDGEgfkyu\nhGBtvWpRkPfgWROsVHN4tkoGLkW1HbT6he1mHBVfZsGiIfPFWzx5jWnbZpf+\npI3nQkDtejB/n3Q2QIgLpnD0qL5bz0ZBB6Sm/cespjB6Ixsh+xfJ/PBTNrKj\ntKYquFj9xARMELd++EgcVdHokhnsqKjXsUIGERd9Mh2LODplpwMgEF5vLlgf\noOYr9Ku0bhvBrjl2NF1Dp8d10qDIoiyS5S+WXOC5tBBarY7frahPpufU65IB\n8YRWM3eOJySo6JuZDy4PSjznZSUz1xTlnOLp3aZg/bE20+DVdlKikCJtRfwJ\nQma9uMjY4qHqBAZvtJzi9JorPaiDAT2WnBOh3PEiMQ25PaiIJRIKzWbdlu0p\nD5cD0+gjVwQz9qPwXHFz6CpNQLOFitGuuQBfHCznzr188W+GYWJg0HADgerK\negg/\r\n=b6QA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA96zBxctJXsq2eux/wPR7psVim92Epfj7Nm5i+Qts0nAiB4DSP177GDI+SSdlOZQeJAVViPbX0//1Sf+ioRT/fA1A=="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_1.1.1-5-add-support-for-meta-property-doi-tags-90c2da2c0d5e55613dd4470de6030cc578bb7d42_1563547849670_0.40973359821526234"},"_hasShrinkwrap":false},"2.0.0-5-add-support-for-meta-property-doi-tags-88e39d2b39a4c2579d5fca983dfc47657dcfdca9":{"name":"get-dois","version":"2.0.0-5-add-support-for-meta-property-doi-tags-88e39d2b39a4c2579d5fca983dfc47657dcfdca9","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"88e39d2b39a4c2579d5fca983dfc47657dcfdca9","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier` and/or `dc.relation`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@2.0.0-5-add-support-for-meta-property-doi-tags-88e39d2b39a4c2579d5fca983dfc47657dcfdca9","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-4AOKyd1g8rBqjoeA3YGhHkOj58At+Wh8iRjEfI/Tl2I1W28EQ40Tf6ex54bum60g4vWxKK+CNizOZ2aI/PMJyw==","shasum":"33111c252df0cd69cdcdb83afd8c18cfb3533cff","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-2.0.0-5-add-support-for-meta-property-doi-tags-88e39d2b39a4c2579d5fca983dfc47657dcfdca9.tgz","fileCount":19,"unpackedSize":215545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMd1RCRA9TVsSAnZWagAATNgP+QEx5iHrgLFykh7O/pHG\nRthbv/jqA7mVbuDRrHueSNFT/bQ0MGfYNtkIqHUZTRumvrpeqxWFDcZzBAXc\n9Fd99uvsAR1t2xNnn2j1zQNdgTrdqzskflu/FXI5bEkb5fmYndFitVIporRo\n+4C1tCQUIOMyP8fJDghwUqc2oDVVdBa0jVcP1j5LA6LOgjhaOSktRwbPFdZK\nBEDaPd0M/TaqD+O4Aeis7booUYBz+UFro4f+1O/vmV1v/c5GAQYi1CvlxkLR\niSPtnde7lDo7mQVgVCOndRaG6oIlOPuxdwrpmF1d9B+xkJAHEdH7QlPH9cwM\nvqC94tYsWahBxOGq0e/9RfYSJiF7bnNC1SYvE4WAZjOafjCTED3mJLM9kYaQ\n4kj1ZkvjErPiJ81kyQYkzkLcrcbIRc2ABlV/dMQay50XPlp11LIDvPduGqNQ\nGSExxuaJIibCAlvlcBvcTID8PIRSRWEYLWMyAGCh4xmsP3o0Yrzj0sB0xCKk\n+a3g8JyEv7IVkYor+rqIw1G/RKoT0R/PFljC1cJWcdK6EJY8mHpgzPuLJSsH\njqQ+7azpXyYau9r0u7v82l5oL1PvJMcACT5oJ1aUXnSxZ2a6OQW/0T/BlSAQ\n20ajrrNgewTXH5djh/8ls3hAvZdzMSqZcjqUfAqTqsm6Q34eFx4iOfvs+NHQ\nnZF4\r\n=Cs/C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD60aEUVi0RY+YgmChbX2tUlYC+JNAQF1bGWK/3C01T1wIhAMkzbFOpIqt79JFxx6E+kAJ2kwZLdBaffaFJpwI9ovhN"}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_2.0.0-5-add-support-for-meta-property-doi-tags-88e39d2b39a4c2579d5fca983dfc47657dcfdca9_1563549009034_0.670758757001255"},"_hasShrinkwrap":false},"2.0.0-master-15aa59b1c4f02c404cc58b1319037b27253b8b85":{"name":"get-dois","version":"2.0.0-master-15aa59b1c4f02c404cc58b1319037b27253b8b85","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"15aa59b1c4f02c404cc58b1319037b27253b8b85","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier` and/or `dc.relation`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@2.0.0-master-15aa59b1c4f02c404cc58b1319037b27253b8b85","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-2HHW6PG6UA36xDgx4dR37qZKOmkLlvMncwV8btX+xWEeZ2gMCGxaH58e4rf6SYRuXH2QwB13v2LlM/TWPk1GDw==","shasum":"4e4aee74589f21694ce771623e4225a698ab0b59","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-2.0.0-master-15aa59b1c4f02c404cc58b1319037b27253b8b85.tgz","fileCount":19,"unpackedSize":215511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMd8MCRA9TVsSAnZWagAAaZUP/RbNRsQfH3cc8/pounJ/\n8/GV4OPcqCF52dI/kIYylkDIFQ+x+HcJuSPOOjsRdJm9HtxR0UeowV63xK8E\n6e0Ladnv0EHB/Xi2HS96hI+bMjCIQuwNck201BwDnKFabLCJB6rWyxX/9XKo\ns88u8SixotmKAsiO7QCCoGDiJRCvpfqRiGjI9tES0zLoBvpMV+FG0Es1v7bX\nXIdE+mvgRLit79PoGvsR+cyIGK+1rw5nGeR+PEHKRojmS/K2hopivoIDZlRb\n3Kw1tFs+QwAgWXfZc0p3Pd6KbKnmPSj31fmwvkydkZDkLZEUdWMX65O3yhGs\n61p+nEB3qwz2lqm13e4wPNvB5vr51go8B0c2Yl1qpnVBQ1nWk6yGyC0XMUJu\nEMtbMg/jMba1kN7DsB5ozByQsk9Q2XqEC1ma9o2HbRNdLHiCrpsul2KD/NLB\nWVgGC1RWjiFuXabTb8XayYZfW03BwyT3sqXdq9lDemP9Y7Tlp+pyHXClQB5a\naya1tNrFUxsgkNoXchuCp6j4hQAvlxvLYi4dBU7NFALioCJ+0fvVfeqKO6My\nlew2gXfAIBSrZvBTWfrxFsLlCWMq7ONfJ+pK/yAx9sorOeDRK/nVaWsH3rhr\n88AFzLrz3pVjFBUIFaSObVffOsumn1i6DeJtHRQS9oL+L7JmdURiCUBe7XW5\nLK+Y\r\n=ICwH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBa6UlUDsiMSO/ewdbLD/LVoBEIzd2D3wSjS0Ju2/IFBAiBRQEiO6Bj5T0ZEWIdRwu7JfHYo4UeCAus8JcT8dv5F2A=="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_2.0.0-master-15aa59b1c4f02c404cc58b1319037b27253b8b85_1563549450215_0.5773825632352598"},"_hasShrinkwrap":false},"2.0.0":{"name":"get-dois","version":"2.0.0","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"88e39d2b39a4c2579d5fca983dfc47657dcfdca9","_id":"get-dois@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-s0hjfIyNN/qKCHtN0qTCqRPl/8vownHkNW9PNsod6qLfLynmfdbOfmoPmvE/Y9loLq0xaLkuRycTSI/9q0lOmQ==","shasum":"33e769b550ef3daeee9f254a427f80330aa7e3f8","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-2.0.0.tgz","fileCount":19,"unpackedSize":215463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMd9lCRA9TVsSAnZWagAAy8EQAJS8zcCNqZBari4uxDZP\nhXQ9ujEkP7EtgC5xYQHfgjr2ymvEQI+sBh7Z0q3SsjTWS9bcofrYent6j9Tf\n/ynL/fEAJDeTvU5oWBal6FuWbpHDB1IIAw0eCgI+g3mZGe7663rLJ4+x0y2w\nCzjd0iSJ+Ep+076TJGmfvTOzTfj8hs1bLxrLPA/eqqp1has3Fh/MsZz2+joZ\ng2d+bdcCUlekwI004keGubq/cTqugvr+Nb+Uy/qPssHJBLVDshPMfsFmrJjb\nAvZlayWxrxY+Il4drsiL09peQYT0JUmZ2YJG8bUt7uf4y6IDVZtuXmg0viUF\nWqVdjAFs0ZREvziHKenU9nefxbR1J94l0VC5pJgEQyFL4uYxLCqMhn+/Mbs9\nCjn0aSw8RIPTSVJ5uVXolkDYhuM3cx7A5xtLuBuHDVClNtqvwkx/nJiv2Bnw\nIxL4dT9wd9QIjgfMAWh5bKoovbWbSzsYEJ83zN99GtnPCEolIMnfZCH9pD9I\nMgq0nDR+5Gj1VhrITxgT9aeLGsEwHMi4CnU+ACsXCZoE+GtomrQ9xiX0bMgV\nkXVedXm43mmLdT4ji4R9NeCbVMZTgpMzhmn5M1AUUUb8YSrvp1Omzyu85ODd\npigBlNN1agUkPyp7Wr100ECfzA2tgaXDi/LCE2iwCHP0X0HhRPqt5eofR+h2\na+Sx\r\n=bKXU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX/g0D57i4Mbk+2gTwb/RszlKWp5ixm4F57umA8SJebQIhAIUfcb+9KZfJSnpepK3u+BgvwVUK4HS1Pozl/i1Y5Hih"}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_2.0.0_1563549540835_0.5378968866048341"},"_hasShrinkwrap":false},"2.0.0-6-dc-relation-should-not-be-fetched-from-15aa59b1c4f02c404cc58b1319037b27253b8b85":{"name":"get-dois","version":"2.0.0-6-dc-relation-should-not-be-fetched-from-15aa59b1c4f02c404cc58b1319037b27253b8b85","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"15aa59b1c4f02c404cc58b1319037b27253b8b85","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier` and/or `dc.relation`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@2.0.0-6-dc-relation-should-not-be-fetched-from-15aa59b1c4f02c404cc58b1319037b27253b8b85","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"dist":{"integrity":"sha512-tOsuaW26AM0plYT7CsHb6PzR2ORFwBVfKRCxTSySM0+qDaDXLkd/sKUOXtRKZbGRntYfbvWAHj4fvlUqXJlBaA==","shasum":"4728497e6ff4887d9f79434dca62aa0d605da9b2","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-2.0.0-6-dc-relation-should-not-be-fetched-from-15aa59b1c4f02c404cc58b1319037b27253b8b85.tgz","fileCount":19,"unpackedSize":215545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWC35CRA9TVsSAnZWagAAcJgP/3zLBhu+hfQYtA//7374\n85JLZnVMaFyqs+DilF4QeHyhg0FOcsjC5iWIyx0Jp2EZwQPIgXMHidoY41Qk\n9HayshB7sRv6axrStuU6Tv2qeaGGixH19jpPWlTfVeWKesBKc2M63gNU4lsv\nbpvEW/wsX8On4LNrfGO0B3ASbaSDc0Vn4VMEhv22wStvgZWVzqqbTuzCJas0\nmyf/YATxQ5n1uigH6n+TrPLcWiKwV1tdnNnbH2QDWqbXJ2DX2U/nAC0fvved\n16Gtu/T6mfsBFIdO+ElliAFY41SytgGrxSCY6ab3e5UjXhJvWkf3+0nNPVdo\nVV3MMDq1jf+EBHm7Vj1H64RaQL+MxStclnB4vUhEUbAt6HxqN5nXbnhkVRli\n2FQuT9LxwhAjTvPOnOJluOTCOdDfGPImz+D9Kn19P9gzNO8az5rSME6OzgSu\nPiiZnGbbGlVVB8+5C3ArSQCPZSP2j059qvIncdHchh86mvN+NCeOQRbobtsS\nEgPlkdwqy//PQfd7Bc+SH7nNJBtnA1G29ieJVAIA1ReoFJ48yDJoXZDjgH/m\nv/uDx4zWmKT1+3JszMc5oB33uCC/S0i+T9g+QOhmIHdfeXzWSuEyPTqfhBB0\nQ1xyY21fh3vysrQ3h3JZgS7HeHogjXlCC2DEMDbBo7olP7xVAGC3mDlu5SRb\n2VCp\r\n=gJHL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaf/kfalSmr1DqX0RQK/yeIK2Z/97rNagp7NLZ+vk6hgIgXforK5RTDe9I4lqBU6MXUMjCCD1bQV2Bxs4TLwKRYpE="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_2.0.0-6-dc-relation-should-not-be-fetched-from-15aa59b1c4f02c404cc58b1319037b27253b8b85_1566060024829_0.5313309388801442"},"_hasShrinkwrap":false},"2.0.0-6-dc-relation-should-not-be-fetched-from-274458049-3b6c1ee8":{"name":"get-dois","version":"2.0.0-6-dc-relation-should-not-be-fetched-from-274458049-3b6c1ee8","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"3b6c1ee8452dd61374916e252c20e49442fc16c0","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@2.0.0-6-dc-relation-should-not-be-fetched-from-274458049-3b6c1ee8","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-VpAueHIWjijFu1M0tdf5iCwvlR1RjkaFI4rZLaOemTRB6vI5nh/N2h2R2x+tqXaY39BvwMXODmKeDVf8Y5jjqQ==","shasum":"cd8394168cacc0713874e5a37832df3818897db4","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-2.0.0-6-dc-relation-should-not-be-fetched-from-274458049-3b6c1ee8.tgz","fileCount":18,"unpackedSize":58022,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWC5ECRA9TVsSAnZWagAAsQ0P/0fDUzgHAVDMAsMRAqsF\nrDVqF9zTa8a+t6SFWe8GcCqB8u1XXWAEzEXmSJRtoxqFXEKdOIRH5w3cfBmF\nhDNFKUaitus7kshLUFViWpzX/97F9ayhqa5shXFaos7RqS91+o0IpVUCCcb+\nR4hTMUqBevWBjg/eAgVXfDKDNzc5DjySld8tzyFEwCXmGYcxv/FCg9w9So3r\nvhD+HxWrYUXetqJbImJiscKKAPXSO5xInbTAppP6u9aJg5YlkJCgZhNnDXSF\nAmN/Wz5ggc1qWcVQvJ4xL2QYnlFiL+L4r8wlZMJFdnRzGKM8KJcQ3rlZa9Os\neL4N3k3YWBzr5HeSgX4FKh79dM1MA6uJ6MiEEKF4jHvRZSlUehqY5qXkHY6J\nWA7ltEqWk3mPHWTEWtXQjMH4GA6zkk/aokzYdlfz76cP/BS56MBvFCClN03+\nvN08X5BXdxQwfFw+hLWHkPidxsQJqOUBhRCWe3CrDctoT+0KY0ZRaIp4sFFP\n9O9ReEjmcWSPC7ShD7lSNijMy3XEdg2RBOR3TTGQW888MGY3ZVYaNOzPrz0m\ngde0t6maxNj4WG77sBhPf9TBIdbE32codKS5niKr5q2oNCVcN20xxwhTc1fC\nDjaW1Ut/Ten9bjgUIMhQPDYO57OvFrKS8jkvDftvIRpmrUiK6nf7QvaU0Pe2\nMSWQ\r\n=BeUz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID1oxr9BLN7b2ktZVed4pD9lQEV8FlB61hiOpIfHkKQCAiEA576dYGdGLc1GGzK4PNIR13967zadCjx+T+gUbwQDPec="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_2.0.0-6-dc-relation-should-not-be-fetched-from-274458049-3b6c1ee8_1566060099238_0.916308498186311"},"_hasShrinkwrap":false},"3.0.0-6-dc-relation-should-not-be-fetched-from-274459359-39d33d99":{"name":"get-dois","version":"3.0.0-6-dc-relation-should-not-be-fetched-from-274459359-39d33d99","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"39d33d998732bd24e62e2b243aaf2cfb3ea7743c","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@3.0.0-6-dc-relation-should-not-be-fetched-from-274459359-39d33d99","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-iLrBcWvwBVGvKG/iL+3Eg/0GAlQ+pSAbUbUEzmMha+HkjPvFBq6I1yqko3lVC6tOdMG+6bbr51t+TYN2izcK0A==","shasum":"d65a6d849e1ea1a82d3df7993d3c6266c5e7df8e","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.0.0-6-dc-relation-should-not-be-fetched-from-274459359-39d33d99.tgz","fileCount":18,"unpackedSize":58047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWDCoCRA9TVsSAnZWagAAMigP/RYFtFzN8eoYHIRAnKtL\nZrOlRD293NZV8iGdO6HJxgDt/65gxFR1rmcG4b9n7HMvObLl/0TBb7ibugiW\nUjCp5OjbpaUDZEfJ8NNwV3t72qr7Rd920JNOgI8bGUKWlWK5vt7IUUqAka5X\nGsC1Zlo9kVNw9iYuFhNgX7/ItM605l2PXhnXBlkOZrla956Pmk/AjRPeotbb\npqXo/Ei0vvLjWsHQiY8PA65YAHtASEcWDGv4sNzBm1Dw3Jcb/LaNLUaz8Bde\n4yLuORDrSYJ3qcop8ykHa99/pxS1SRpdxpHC6rwchAsrOer7ZIVykGP2qiW3\nFszc8/mzzZZebXIPSBuiR0A+b6B9sYTpKE1WiKAfpyZvGTSrAlOC/qfs+pQU\nAmkGUsHlvI79Yrb+4VNiccQ2b6ddaQoyfbBgWNQY8m7hYuJjq+d3PcQyayTk\nthGNLrWinRKx9XSIbOmdlUmbB2a1LtL9AisSBS0CfPm+3godP6jaaZa1S5yw\nadqq1GrmSYflqYUOC9mJBufDcEbixPeaQ54bE0pwWO012EyK9Yb4Dx7wLIDY\nQMpXSc59OPonlveV8NN7uxaMYBB6PR0ixMUdGb1IMECDsImQyZfv1UI6rMNy\n5nOByvZuFRNm2M0P1LZlZ4x8pHj7c/p9s5iPdQV7+FJXKXyA+tBZ4VPJuy+e\nf5IZ\r\n=Yu0W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRwu4lwMnE0Ws8ZqSIG09LL3wRfeXnTAuTD6HPYnZ8SQIgJLoHTlk51SdTu7jq9d1xUKc6ghJK8CvkghD3xma6gBM="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.0.0-6-dc-relation-should-not-be-fetched-from-274459359-39d33d99_1566060712319_0.704413240998008"},"_hasShrinkwrap":false},"3.0.0-master-274460418-bb20630b":{"name":"get-dois","version":"3.0.0-master-274460418-bb20630b","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"bb20630bcf05ae531e10e2445bfa72824bf5c899","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@3.0.0-master-274460418-bb20630b","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-VdbZTm6pXIoZDt6OnAiQ0zgu4ouX44ukpH53bvZUILtw8zh83n+o9fMpE6pxXmWLTqBhGSPIG2na0/llXnvfKA==","shasum":"018b28dbd4bce74d97c1b770c9aa24c0c680194e","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.0.0-master-274460418-bb20630b.tgz","fileCount":18,"unpackedSize":58013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWDLSCRA9TVsSAnZWagAA6xQP/R+aKHWJLT73JUqAlqLV\nbrR3Tx5iyWFHOzCwEdc1rIa4LUUe5XLtK2QcdL9ug3bRQLeQ3brjJLiiKego\nEJ7gGDXrj2R2R2aUP2ZsBsEZt83qwwttOd3Q9ciE3CX0K38ANpfB4qFDLnCi\nnj/26ZNBosJAdO+3nQSBd4KAIdmsGPHmkOdsih5KwVBisd5VigARc3uuG/sG\nC6uuo+dXL0PxPlg0V+c67/Q/Ne9v4W54OoPN46lPIckdaJu+jdmGAmFVElWB\n6EXeVmCtreRwcHdY6Zw7QJAguS74l1nUxj3IxSVvHtuAu+BxCCJqiJtbv/FR\nKVmKnO2ksJ2oUqXKTiYXmxivtj5cYAoWJ4ypCYRh2zmKn+vuwjL72zIkZ4VH\nhb+TcoLCzpn7eUve6B5tz3x7fOwiZyT6tqfgBySzft0ITwdA+0BGSdmYY5lY\nhnzgyfZROLC3rcZ2iedYRzxrLntXI6n2LEhamZIrN1rpQkG379aBxmgjNoMf\n0jSQZ6TltEt+x5f/SEAlt0xcao0Gq6LOFVkhzOekt9DDdQpiyCL7PkFSG8lF\no/qa+B+AO3QQPfr4+J2qkOSsfqyg05nelYB+6OuNJeBJYu8wNkaRHrOoJFtL\nW9+2YGaiui3W1uMSlgO3z+f9CG7OU5lSbxvSuwTbjCUt+HxQkACjY/r5Ib3p\nfIT7\r\n=feyF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6D4L3Vm+axEJL6v4gFXhzwa5gHEVZ8e3bLyLPsY3yyAiEA9bp+LdpCY+t4/4dbP7ZosVbHWIOXw33s+k00FJTb8Bo="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.0.0-master-274460418-bb20630b_1566061265318_0.531277575241577"},"_hasShrinkwrap":false},"3.0.0":{"name":"get-dois","version":"3.0.0","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"39d33d998732bd24e62e2b243aaf2cfb3ea7743c","_id":"get-dois@3.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-xJHV5BT4dzUOtMgN77xVH83XQ5UQLvzQ0hWzDCTAgnRSvYeFy/q+DV7R220RSMCymssFqTzEWPpfbtkktvHdFA==","shasum":"25ee409743edc7f44abe799cc200afe2006bb940","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.0.0.tgz","fileCount":18,"unpackedSize":57987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWDODCRA9TVsSAnZWagAA+cUP/jEZmMw4vEuhyxnh5TGt\naTz7v8H0gf76BSrHTgG3Du94j1FCRYpNi9zld+8O/+GCbVo7dCP6Mw/fE3cA\nwe73J6HKfK/vdVSocfPqTW0PHTpgtzCkKBjFbkhqvvkl3nrfKJyjJav9UHJA\nmfPaceQwnYJC0CLk8D/d8TidzW2I28mAK5f7ZNKNOOFc0G2rl+9ZZvTiyn8l\nDIdtQSUeVo5PE9lGzhMXJitzDEmPOcPQ3GgPkyeIPaCSJppI+azNlH6/PK+g\n+WERcttRPNduhTdbGCddraXgEed3XWN6J2pvbPVqxX1RGAgW12VpD7swPczs\n0wPKB1B41WOsxiFU61Fwe3hPlnvisuc5AZYhGV5K9iSHMTtLMfVy+D8ehm29\n1p2LC048pujibKJXTtRWtO/ficdKsEcKUCyRQIdoLf/YoXj7Z6BUTNw5fmYG\nfQ+jpCOEjzNCXJq4nMevZYjOpDlY0fELKcfVx3YN2YHmRokdb2OTtR/Zb2db\nMfS6CEV5LSac/a6N2SoXe/zRDVZUVKRpW6biKRvorxu+IOwMld/q7M/6OhOT\n9SsGsa4htE9YMsbnAyhnqW60z0viWqFmLM34ilLvepLnv5s60NuVgq8cZLKX\nrrt8ZMy8bdqWy1/l8+25/eT6H355RNk2Rv1w97LuJHdeet7zJZ1xUp9RD00/\n9kxI\r\n=F/dh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH8J28/qVCK/AUeOthuR5KY9d9kL4zr93c0z1BZmUNB4AiAi+Knf0pIP1hwhTfp2JyIAzoZOHXi0lF9rUMBO0BhD8Q=="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.0.0_1566061442492_0.020296754754601576"},"_hasShrinkwrap":false},"3.0.0-7-add-support-for-figshare-s-format-372922930-ae2fbb22":{"name":"get-dois","version":"3.0.0-7-add-support-for-figshare-s-format-372922930-ae2fbb22","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"ae2fbb22255bf3ff19be0e3072888e9582460ddc","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@3.0.0-7-add-support-for-figshare-s-format-372922930-ae2fbb22","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-RosckTSPezJBaQvYeo8lyC6Zl4B5GOg7S4v/3bVxrQ1LTz3SXH1lCTvnHAJeA8U849TQ62Tto6dm8+UxWVPQqQ==","shasum":"50830b3e690b01fc21bf085a58cc5c99841ed794","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.0.0-7-add-support-for-figshare-s-format-372922930-ae2fbb22.tgz","fileCount":18,"unpackedSize":62514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7W0BCRA9TVsSAnZWagAAU50P/A3E27sFGwp7vkAi1SGb\nliGuwcdHxUYKAjfUXmfFoUz4eM8+OGopx432l0EKTkwbGlcEb8oB9c2IsjWH\nuFOHUUS45xxpu60vxEizMcdy11fkA5qIBzynNtRZ6HTBaIktydtbfFnBiXq5\nA9V6vo2o42V5ZydKSjGjnhsN6i4His8mW+0MSy4zEFud+9L8GN1RbgSPnMQ5\n/7J8w/qEdk8QrZ4AbvF5hbIT/ewGuPaIiQ/d+sUhlShfrmQBLgAVciXahE5g\nBwnqazXcUQjzp39sSfy8vqZ6cAFqbT/jbP4gQuKkxLEr9ItsQhci31m3tCv+\nCkjjpoaKIoA/+YrYDR1AsDV9lJ1ANpMmupw5O+0I9UdcCTKiRmqazotkEiK1\ngI9mOUlk/hA/RYaOjzmofU/zOk/7dooqwc05y/gQMpjTP6tWGB2NGaAn9TxW\nwIEj4i6WtNEWNKuc8MfAWOvRUcaH5XEv9FgF1lJ6APZs5m6RDbIXgQmAUPg6\nlzjj6Y77V3eAIblMGc28NuNgSBZXR/CfEQPweyJaEJ2cB25y5GF57g2EoteY\n+WbCkBv+iopPHLIE5xAH+zFNiJ8+qRiW06aYal5E7DRFq8NRxJy6WGk+4K32\nTylt83kcIOnybitzRU5zXz4q4v6iMketsiY3jXETcTWSrH8BaS862Xt80yWm\ninT6\r\n=LEfC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsto1HLqT8AYdNibCzhoFBhw7LHUe22DKaG/JNxO40lAIhALvShUr5Lb9rqbt7uJQesuh3D7x8QJZ5RwWU6Y6t0xDG"}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.0.0-7-add-support-for-figshare-s-format-372922930-ae2fbb22_1575841025381_0.5788512207120733"},"_hasShrinkwrap":false},"3.0.0-master-373189176-bfa9e24d":{"name":"get-dois","version":"3.0.0-master-373189176-bfa9e24d","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"bfa9e24d035ef6bd9abc71e2a94c705af1e9dc9c","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@3.0.0-master-373189176-bfa9e24d","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-BaSwTRVGLTkDHfWpVfqXpERoWbIx1CMU3MvQiEc9QMx0IBNmMqRXMxU42I0kukphmYanYwZD/Uaj7pNNsD0hMg==","shasum":"c4adff24c802d7c031ae130d46ba19abe8d931be","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.0.0-master-373189176-bfa9e24d.tgz","fileCount":18,"unpackedSize":62485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7g2YCRA9TVsSAnZWagAA5/sQAIMI1s3bKDWxbdlli+nz\n7mh/BLOn14hUaA0gQIWbYF2IPxDtVADS9eP5jVapMTpjJgMFem+mVgko4nkF\nEMz0uN53c5b2KqjTTBvAIUMvNO2XtUb4VvZIQwYgrd+I8ujIp7EmvHtLCtER\n4yliT6Ogk8GJ9u/teaO6Q4IjIBrBpqQqMh92YzldyY12uAE/un40o1Q4z+a7\nxwXd+e2orcDiGsE/DPSVz3HAHQYhzlPEvPVz1jvr0JGA0Nh54DOnZK33TMNZ\nwuzvAP2L8sGA/gvk5jdW+z41YYYog3Pt140TMDEQLzkCW5jPrqYXa+MOmls+\ns/pXv2CUA/T4+hX3doj7B2NTzPwY6CYKlxCyPn+y7lbzZ0xc8DQ9OgcMk+3w\nrEq9A7MgAZzroP6EqKp9GiLRTSAoq2AziJYUXoboP5aSTRraFmKiu4EMYPaa\niBER/okeLhoMn7mF3VeTy81Qc5vnnrC9Eb2jJXXlT5wQhD0LrTc8CXltxw2l\n8uIAHwU3uVMJTFcqGcgaV5oeTiAY7Tme+/k6/jkmI7BjJF208JYSmeaW88+5\nxaKtMvAQhUWgwlh9qmtw1xKQMBMveXz3dmFR2wTihpC7dMrxMGxUN6Iq255d\n+8hBxssGXh3gc6iDV0eGsyZb1P3rV+ISIixa51vxvvUVz+IlQRwnWrcgdG1z\nTipP\r\n=TQV/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVArVRtqaHAVeF9IycMTsCRZmC7OVLnJGhvKwlc2UfWQIhAK0Atq3hJLSKEa9gqNLXS8TFmafpHKxvJzGbCPWVLNER"}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.0.0-master-373189176-bfa9e24d_1575882135643_0.6438923889676926"},"_hasShrinkwrap":false},"3.1.0-master-373235166-6aa33a24":{"name":"get-dois","version":"3.1.0-master-373235166-6aa33a24","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"6aa33a242cb671abb344c7d79ea873a3c349dd91","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@3.1.0-master-373235166-6aa33a24","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-suFQbVaGTbBSNXGwk8y2vKMGTR2ca80PiTZGH7MgBPgiPsJvdf8BrVETtkemdBecUN03TX2VbHgjZfi9Gli+NQ==","shasum":"5b4fbf8ffd8b162b8be363c4e355dba0a74a6aa9","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.1.0-master-373235166-6aa33a24.tgz","fileCount":18,"unpackedSize":62510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7hbICRA9TVsSAnZWagAA5n4P/Ayv5ZDa+NMpan1nvkp0\nhhq/mcAVoFAn3CixHhSvZwjUoPXoDSGJtgbpIY1+T22PwahuTNzb22uHqBbW\n5YM8TU6OWa0GfUptWIlfZIfuLrs3OUo4BCJy6D9NiIGtWIf7y8ufICBS+D/+\nnfo0+jJTg0rdk5E++rV8ArdKFeMtBCw627NfsFz9vXicg54WljdcYtJF/3Hw\nxhRB+eZSH9/QWvbdE55cKty44mf1thovGtwYx84fpfgDBuAILRI2f1mdckVD\ngEuL5yIbpBIUb7nyJV+5A4bolBBgj3Zado9F6TMNpbvpn+TS8EaqxgI7PdlP\nLLqELjB7sOl1L/vxc/SgCiKkCmfBiDUBfpdH+wVPv2utPYzsnhN+E4oL6rm1\nNXNuHaIy2ZabHvJeWLyqqt6RZr6WTz/j/DCQhzBL3tsqj+eyT2xToDB1O8g0\nhu/8mNpIsPAGlvyxOBJZb3RWO+0ZXh6jNZW53Od/LnjCoil+OviHuNbIgWSe\n3MI1OyLaEDApnmrmwPU/sueliizQ7FU+eQMNjhJnkoe42TNVaRTh7uR8khev\nB0dTqLRMiN8cYhYsiFkTMkSNMKXQS9OTQKquRDssAKc5XGmJWuXSSSEi3x83\nZrhJ7oypiC74M2qE6r+32EKKRWd5OJDuKKgFcZxJvru/GWDIew0jM1H98G7I\n0syb\r\n=wwTP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDbPy1LTgvX9dgtp2LJAMhXzux3RrREjGlcUktC0hDOwAiEAztNeMKO+zJEcE6aVEIDPtL5OnnLC0LNqrOWPXLwfmcA="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.1.0-master-373235166-6aa33a24_1575884487783_0.64553390217247"},"_hasShrinkwrap":false},"3.1.0":{"name":"get-dois","version":"3.1.0","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"gitHead":"6aa33a242cb671abb344c7d79ea873a3c349dd91","_id":"get-dois@3.1.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-SeKrFBCmhyeFa2urVwN6hcflTZePiMINo1Xl3Lp9gOpdlFEuxX5kptEpPdmGLQkn6oArbx7h0XVhD0gkPCIHCQ==","shasum":"a3a20b46792785b6be89d6f06c727c301ae9bb1c","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.1.0.tgz","fileCount":18,"unpackedSize":62484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd7hisCRA9TVsSAnZWagAAtsMP/0IZhp94ndTi8I1jO+KF\nXamS/W5eK9RpGnszLl/EWLgm9S+EIEwcUEkW8eFs0PNprVtdJRJqxnz6fmXq\npl4Sh/BARiWr3UpWUVqOCy7khmb+bEfsbsBR+P+Yq/xUKc3GqFVTckhbiyf1\nIEYUQYQrUgh5liDJB72PKShlSzbFhBmRCIELAZ0OpCI02I+a9iubu9uOs85D\nbSUrJN904ftzIJqYbrKzfiauF2Y0SYpUJOgimSLuERVrXyTkA9JTLyvfjXoh\nn/f8MLg4sHwHSx262fxDy0jBU0lujZwN1KyLWfMsQ6WLNHZt/75orRppGw9W\nMwXjuVLzJWwnr+ZcsJYEtI6uuXjY+msWmE6uY4arD2L23gBB6TpxM+nPpx4s\nqf4pFadiYGBdHWoZ5Kw/+Kv3fFFiDquXzL3eqjzBGCw2SPRF7J/bJs4Q/bS5\ntrSwn+grqEyOA7EfuH0y54y6G4g08aKrEWGM2RfX2TJM4mhwQAEeqDIiO3wq\n7A+VkRAuHQX310AsG/VtHHIP5OPMsf7p28F7E0IKzK6QBa0kVDe+AD1pQjlj\nozYx4xPb1IwO6iaNuq4HHYtqDNKSb4Rux+zJtSqnMHR2LWi253Rh0xSOwFtC\ne3s8r/tBKdDHQ/zWdX2lHygLp/tiH9Y5bA9MaZfjj6dZGbO0f9d1+iPl91bH\n7G6R\r\n=SRg0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHf2n1JpVy6CMlV++CDpPNXou43Huj7ismenlvm083XUAiEAlx0SH9Dtu8dNnYhZXWbmsboxck5kZdHag5fQys7ZaS8="}]},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.1.0_1575884972078_0.012480736758680333"},"_hasShrinkwrap":false},"3.1.0-master-3043572058-26599a21":{"name":"get-dois","version":"3.1.0-master-3043572058-26599a21","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"volta":{"node":"10.24.1","yarn":"1.22.19"},"gitHead":"26599a219265a1f1c8c1a2006f71c8993e1c7db1","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@3.1.0-master-3043572058-26599a21","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-Wkv1hQPCZExmTlIxdo120woDOto3ETSJMhKLEzPOU3lzOrv7k3KGcS32eyOp/kDiPVLmjnRl7n1KzIQrBZHWtQ==","shasum":"e5d7a19cd24ef40502c88efce6e8ced29cb16e8e","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.1.0-master-3043572058-26599a21.tgz","fileCount":17,"unpackedSize":68991,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOWr56JY353kEjedq+TzzBLAgGaKPF/uAlAW859Q9+7QIgHxfTBxsEPu0wcb+F44Srhi6DFa+ytb6Ry36xIosMdIs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJa2iACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSQA/8CPsrhJjm4wQViBIFjmzipf+q08GeOWlhkq3t09/7YvavB6OF\r\nqjpYzSq3o0PHvstKNi/kz1Zj/HGOcZM/qf+DNm36+e3E7b4a5/SF+tbIX4UZ\r\nNJLDZ9SjuZznV8aLWWnU4czh6RvppAjFZBZyY/OtnCabX6VFPHgwxzd9Enj2\r\nKYJ3wo0kA5nlUFFbY4krZrKcXqP+6Es9v/l/It/EEj5yTFcwgR7jV8Dk70Os\r\nzVKGl1toBUqBypL9vlYDOsloEO/nA3O/B9Z1lnwYuTt6KgtwPoc8UfTddDTW\r\nf5ie5rb5dHugVXRt8mStnSEWi5/93wrg0IA/c/6t3Ewh8o7r8s9gxM/zbbO5\r\neRE7Tyk0tZShNhc03yxqEClYoQ7KlAjzb4DSc/IlAOCH/MKsh6MRTA9IQyJs\r\nKdUMqwsDH1wtn3nr5jM3p/ZyV27dbwd3e6+4bbT3ibyxjJ/ER2i9EhYHcIsf\r\nMbLIFTcAGGxO1XTGcqfta1UiEulJVblyCMlwJWZFdvIvkb3N3KY8P9OezN1q\r\nQj5KT7R0zKH9koTXb9lE9bTTVolMKgm6jzW/MUtkG6BpjU4abpjJDe84brQ9\r\nWibN1g3uma23/YKagRg4rrJ7vRa3uum/3ElcjjIrsk9H1uQo23K/bLPnRfrh\r\ndWxANpP0A/ouCj89uQbOHo9wWycVx+fvzHc=\r\n=MRs8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.1.0-master-3043572058-26599a21_1663413666650_0.5655083915769914"},"_hasShrinkwrap":false},"3.2.0-master-3043577819-9ca4db98":{"name":"get-dois","version":"3.2.0-master-3043577819-9ca4db98","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"volta":{"node":"10.24.1","yarn":"1.22.19"},"gitHead":"9ca4db98e330780d81f9e363cf26d94dc7f979b8","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md","_id":"get-dois@3.2.0-master-3043577819-9ca4db98","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-vCxVmYDjGMErYjPgrJZDT/oWQiogIwPsj934btU8yYgGqcH8dVooPnyhS4zJLMQEZ0xU28sOhs/5puoGP32d2g==","shasum":"7449d01ff93b6869d77c2a3e077610cf2dfb1541","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.2.0-master-3043577819-9ca4db98.tgz","fileCount":17,"unpackedSize":69016,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpOcuVnLIov6vR+0Tt133ub08qDraWelPkvEpKNzXMhAIhAO6tQdXRwXfywAd7bIp3yApkwO6Dl4KEN5nXsOvENKJf"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJa9nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcUw//TQgL7oANf17xFPmwZ2Svi6GIaYGwJdOpO1ahNdLoapfZ7ryD\r\nQWZvAeB+++sl/rOmPU2IEaXkC9u5M+XrM4MHa7fQdLYdzRXx5Ft2BpRmN/Nf\r\nKlpoDn56h6lX9O8flEMKY2FxqiujXidgtuD0lI1Jz+yryEPFBBNZoNgYIbSr\r\nlEGmT5up/yzR7JzzfCAvH6BYwIDalHxtq5wyTbLH+JizupFhAYLGZIhbD6e3\r\nblbHheqxWCp44AaOFvUl4hSK5SZxTumddobnUL8Pun4mc8XBgghTCynRUVem\r\nb/Pj2SoqLlkYs2K/fqG2nZgb9W+8SCp2fgclhLoaSSU4a1qPSAjo+dH17cAt\r\nKnKpz1aHgYTcGc5l1ymVjsOcZ3GkdZoSrLQQUHsUgQ6mt+qYlEdZeKWHPuQe\r\nEQFjNwRCmD892Zwb4Yz5W1jgH9HRgNV9jRp+DuTf/lMKvlbqT336LPx71Euz\r\nQWeEmFG3WslTBsCrzDzRSpNyHCK7TG7QeJjljfVwlcJVEGlzBA6S+I8PKdUO\r\n5EzkA5JpA3Y/I8vyTrNMw3gnCSlLL408AAHIu4Totp5IMzNNFBu1GYnuwz1M\r\nwIcTzS2kt6VK6w/rTIsB0K3mMDYp3Po2Cizi72q1SVyoiSBoaHsOjnjoXvzj\r\nAnELn1wBOvC9MW5AtOgr5KMWu8wjlM6QDbs=\r\n=LNOB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.2.0-master-3043577819-9ca4db98_1663414119428_0.2717106626610737"},"_hasShrinkwrap":false},"3.2.0":{"name":"get-dois","version":"3.2.0","description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","scripts":{"test":"jest","build":"tsc","prepublishOnly":"yarn run build"},"keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"homepage":"https://gitlab.com/Flockademic/get-dois","bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.9","@types/jsdom":"^12.2.0","jest":"^23.6.0","jest-junit":"^6.0.1","jsdom":"^13.0.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"dependencies":{},"peerDependencies":{},"volta":{"node":"10.24.1","yarn":"1.22.19"},"gitHead":"9ca4db98e330780d81f9e363cf26d94dc7f979b8","_id":"get-dois@3.2.0","_nodeVersion":"10.24.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-OLpUAsS0r1KK35RJ1323uAaNniMKTZLu33A4tPDtfduC7FeSFARIl1Mvoyr1CjZd2EGLzalyV6/fRtA9e3kLBA==","shasum":"9069f491c368d49299962c2f154283dbe5edbc9d","tarball":"https://registry.npmjs.org/get-dois/-/get-dois-3.2.0.tgz","fileCount":17,"unpackedSize":68989,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEO8DiMQ82sVeWH1MLPkh8vw5ipN/WUalxQhM4uGOk/gIgKe36PLovsEovgaoDP3lkA3UDEshChOT2LGNJAVCd0u4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJa92ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZ8xAAhnoqQtAKDikkihb9dl5Ig5N6XGO5yzIzVo07If4s0jRjiA4q\r\njpgriPVMB+AI+2uUfDlvI5UNIAJUBNh6KouqPCMgONBqn7bEqweB4RuOn4QO\r\nr7Umkur9Q6WfHHkkgfJj844arVK6raJb7r92i2s8oyTDNC2Bzi9xPKVABlpA\r\nb4v1xwzWDsBwX+Wv+zm6qQ4WIol9C+E9prGnfByKqdMfST4HkQaYNpPlYXJe\r\n2qunAHn8rPkq6TREPNaoFwFHO2IM77LWO+7RhtBbhOs0hGZUf5R96OaIcJBZ\r\nY1V3Jv0NG1FSXtyOupxaL2zTg2ZmBHB9Vb9PW7a0CkzlwgKhCklFKOeSxsXL\r\n582xqSfYNrJ0BX70O6rPoHiTnAKkW45EJYdf2kC+2NicGakgMSHPbEOap8i3\r\nDPQtqCSsPLmP/zspPqGh3gc5KzJkJ4xxV9fEav1kb47M8gtS5sITmXi0dsL8\r\nM0MuE5F/wE7+HFPDd5rMtMajbAMT0hnqVOc7DDWzqRW/0iZsxNiaFa4qybh7\r\nE0/mZGVwMoEQl6XukHlbnDwgWsg7/5f3y99dxu7ScwLHBmtL9HjFhQu3H1ig\r\n3mumTZUNEBa8LPnV489hyMjAUU1R0sqxxHAWOOrfGcUCcnKDrEuuiZCsOYDe\r\nDg9k8m1oC1624WrEoxzGAa22Dp7XRtUINf0=\r\n=cCPq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vincenttunru","email":"npm@vincenttunru.com"},"directories":{},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dois_3.2.0_1663414134105_0.5968212507070918"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-15T18:26:54.518Z","1.0.0-master-466ec3b6ede17eb1d8424c94fc8210b6e837311a":"2018-11-15T18:26:54.672Z","modified":"2022-09-17T11:28:54.338Z","1.0.0-master-52557781f15ce177e9d2e2f51fdb8740cc23bb61":"2018-11-15T19:15:04.356Z","1.0.0-master-cf4a133e5f972dd142c46fa484a6c14d946e365d":"2018-11-15T19:35:06.588Z","1.0.0":"2018-11-15T19:43:06.606Z","1.0.1-master-21da7b8a91095370bc46a1ff63fa9e56dffbb3fc":"2018-11-19T14:54:40.037Z","1.0.1":"2018-11-19T15:00:59.506Z","1.0.1-master-67d90a8bef540fc30099eeaf4f8b3dbcb2c9392e":"2018-11-20T10:25:21.056Z","1.0.2":"2018-11-20T10:36:21.510Z","1.0.2-master-3091946cb9e58b03dadac60571402c10f00cc513":"2018-11-20T10:36:53.230Z","1.1.0-master-e05556eedaca8d2c7355c50db758af1286e3adca":"2019-01-17T08:17:52.352Z","1.1.1-master-9ea225368dc604264d3d6b6ee250e06073386d9e":"2019-01-17T08:29:32.303Z","1.1.0":"2019-01-17T08:34:42.147Z","1.1.1":"2019-01-17T08:34:52.857Z","1.1.1-master-90c2da2c0d5e55613dd4470de6030cc578bb7d42":"2019-01-31T23:51:40.663Z","1.1.1-5-add-support-for-meta-property-doi-tags-90c2da2c0d5e55613dd4470de6030cc578bb7d42":"2019-07-19T14:50:49.830Z","2.0.0-5-add-support-for-meta-property-doi-tags-88e39d2b39a4c2579d5fca983dfc47657dcfdca9":"2019-07-19T15:10:09.199Z","2.0.0-master-15aa59b1c4f02c404cc58b1319037b27253b8b85":"2019-07-19T15:17:30.355Z","2.0.0":"2019-07-19T15:19:01.067Z","2.0.0-6-dc-relation-should-not-be-fetched-from-15aa59b1c4f02c404cc58b1319037b27253b8b85":"2019-08-17T16:40:24.949Z","2.0.0-6-dc-relation-should-not-be-fetched-from-274458049-3b6c1ee8":"2019-08-17T16:41:39.433Z","3.0.0-6-dc-relation-should-not-be-fetched-from-274459359-39d33d99":"2019-08-17T16:51:52.406Z","3.0.0-master-274460418-bb20630b":"2019-08-17T17:01:05.445Z","3.0.0":"2019-08-17T17:04:02.645Z","3.0.0-7-add-support-for-figshare-s-format-372922930-ae2fbb22":"2019-12-08T21:37:05.566Z","3.0.0-master-373189176-bfa9e24d":"2019-12-09T09:02:15.801Z","3.1.0-master-373235166-6aa33a24":"2019-12-09T09:41:27.939Z","3.1.0":"2019-12-09T09:49:32.290Z","3.1.0-master-3043572058-26599a21":"2022-09-17T11:21:06.798Z","3.2.0-master-3043577819-9ca4db98":"2022-09-17T11:28:39.633Z","3.2.0":"2022-09-17T11:28:54.263Z"},"maintainers":[{"name":"vincenttunru","email":"npm@vincenttunru.com"}],"description":"Detect Digital Object Identifiers listed in the metadata of a DOM tree","homepage":"https://gitlab.com/Flockademic/get-dois","keywords":["doi","digital-object-identifier","dom","dublin-core","dc","highwire","eprints","bepress"],"repository":{"type":"git","url":"git+https://gitlab.com/Flockademic/get-dois.git"},"author":{"name":"Vincent Tunru","email":"npm@vincenttunru.com","url":"https://VincentTunru.com"},"bugs":{"url":"https://gitlab.com/Flockademic/get-dois/issues"},"license":"MIT","readme":"get-dois\n======\nA small module that takes a DOM tree and returns all [Digital Object Identifiers](https://www.doi.org/) (DOIs) located in that tree's metadata.\n\nUnfortunately, academic publishers use a wide variety of metadata \"standards\". This package normalises between Dublin Core, Highwire Press tags, [etc.](#supported-meta-tags), and the different formatting rules used for DOIs.\n\nTo use this library outside of a browser context, you can use a library like [jsdom](https://www.npmjs.com/package/jsdom).\n\nThis project also includes TypeScript type definitions.\n\n## Installation\n\n```bash\nnpm install get-dois --save\n```\n\n## Usage\n\n```javascript\nimport { getDois } from 'get-dois';\n\nconst head = document.getElementsByTagName('head').item(0);\nconst dois = getDois(head);\n//=> [ '10.31222/osf.io/796tu' ]\n```\n\n## API\n\n### `getDois(domTree: Document | Element): string[]`\n\n#### Parameter: `domTree`\nEither `window.document` or an HTML element whose children might include meta tags containing a DOI.\n\n#### Returns\nAn array of DOIs. If no DOIs are found, this will return an empty array. Duplicate DOIs will only be listed once. Note that a page might list multiple DOIs.\n\n## Supported meta tags\n\nAt the time of writing, `get-dois` supports detecting DOIs embedded in a webpage as:\n\n- Highwire Press tags (`citation_doi`)\n- Eprints tags (`eprints.id_number` and/or `eprints.official_url`)\n- bepress tags (`bepress_citation_doi`)\n- PRISM tags (`prism.doi`)\n- Dublin Core Schema markup (`dc.identifier`)\n\nIf you encounter a different format that is not yet supported, please [file an issue](https://gitlab.com/Flockademic/get-dois/issues/new).\n\n## Changelog\n\nSee [`CHANGELOG.md`](https://gitlab.com/Flockademic/get-dois/blob/master/CHANGELOG.md).\n\n## License\n\nMIT © [Vincent Tunru](https://vincenttunru.com)\n","readmeFilename":"README.md"}