{"_id":"micromark-util-decode-string","_rev":"267227","name":"micromark-util-decode-string","description":"micromark utility to decode markdown strings","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"time":{"modified":"2023-03-27T19:08:40.000Z","created":"2021-09-19T12:21:33.315Z","1.0.2":"2021-11-22T20:02:32.235Z","1.0.1":"2021-10-02T13:04:12.946Z","1.0.0":"2021-09-19T12:21:33.315Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/micromark/micromark.git#main"},"versions":{"1.0.2":{"name":"micromark-util-decode-string","version":"1.0.2","description":"micromark utility to decode markdown strings","license":"MIT","keywords":["micromark","util","utility","decode","character","reference","escape","string"],"repository":{"type":"git","url":"git+https://github.com/micromark/micromark.git#main"},"bugs":{"url":"https://github.com/micromark/micromark/issues"},"funding":[{"type":"GitHub Sponsors","url":"https://github.com/sponsors/unifiedjs"},{"type":"OpenCollective","url":"https://opencollective.com/unified"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"dev/index.d.ts","exports":{"development":"./dev/index.js","default":"./index.js"},"dependencies":{"micromark-util-character":"^1.0.0","micromark-util-decode-numeric-character-reference":"^1.0.0","micromark-util-symbol":"^1.0.0","decode-named-character-reference":"^1.0.0"},"scripts":{"build":"rimraf \"*.d.ts\" \"{dev/,lib/}**/*.d.ts\" && tsc && micromark-build && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"048fed42f410d633be14ca0716ac53dd4ac1b3ec","homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-decode-string@1.0.2","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"942252ab7a76dec2dbf089cc32505ee2bc3acf02","size":2347,"noattachment":false,"key":"/micromark-util-decode-string/-/micromark-util-decode-string-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/micromark-util-decode-string/download/micromark-util-decode-string-1.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-decode-string_1.0.2_1637611352055_0.4576036283497993"},"_hasShrinkwrap":false,"publish_time":1637611352235,"_cnpm_publish_time":1637611352235,"_cnpmcore_publish_time":"2021-12-14T05:19:32.018Z"},"1.0.1":{"name":"micromark-util-decode-string","version":"1.0.1","description":"micromark utility to decode markdown strings","license":"MIT","keywords":["micromark","util","utility","decode","character","reference","escape","string"],"repository":{"type":"git","url":"git+https://github.com/micromark/micromark.git#main"},"bugs":{"url":"https://github.com/micromark/micromark/issues"},"funding":[{"type":"GitHub Sponsors","url":"https://github.com/sponsors/unifiedjs"},{"type":"OpenCollective","url":"https://opencollective.com/unified"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"dev/index.d.ts","exports":{"development":"./dev/index.js","default":"./index.js"},"dependencies":{"micromark-util-character":"^1.0.0","micromark-util-decode-numeric-character-reference":"^1.0.0","micromark-util-symbol":"^1.0.0","parse-entities":"^3.0.0"},"scripts":{"build":"rimraf \"*.d.ts\" \"{dev/,lib/}**/*.d.ts\" && tsc && micromark-build && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"b91e05f720fc2ded2491598bd4d500db9a376498","homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-decode-string@1.0.1","_nodeVersion":"16.9.0","_npmVersion":"7.23.0","dist":{"shasum":"fa779dcef7f2dc2c9e4b759abd85e553674eea4f","size":2352,"noattachment":false,"key":"/micromark-util-decode-string/-/micromark-util-decode-string-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/micromark-util-decode-string/download/micromark-util-decode-string-1.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-decode-string_1.0.1_1633179852806_0.3860847984806386"},"_hasShrinkwrap":false,"publish_time":1633179852946,"_cnpm_publish_time":1633179852946,"_cnpmcore_publish_time":"2021-12-14T05:19:32.225Z"},"1.0.0":{"name":"micromark-util-decode-string","version":"1.0.0","description":"micromark utility to decode markdown strings","license":"MIT","keywords":["micromark","util","utility","decode","character","reference","escape","string"],"repository":{"type":"git","url":"git+https://github.com/micromark/micromark.git#main"},"bugs":{"url":"https://github.com/micromark/micromark/issues"},"funding":[{"type":"GitHub Sponsors","url":"https://github.com/sponsors/unifiedjs"},{"type":"OpenCollective","url":"https://opencollective.com/unified"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"dev/index.d.ts","exports":{"development":"./dev/index.js","default":"./index.js"},"dependencies":{"micromark-util-character":"^1.0.0","micromark-util-decode-numeric-character-reference":"^1.0.0","parse-entities":"^3.0.0"},"scripts":{"build":"rimraf \"*.d.ts\" \"{dev/,lib/}**/*.d.ts\" && tsc && micromark-build && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"4ebefb0d7ae8176c593e2bdc98a0d9e4d3737bd1","homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-decode-string@1.0.0","_nodeVersion":"16.9.0","_npmVersion":"7.23.0","dist":{"shasum":"f97946825231d9c97df767875064401774578a6e","size":2348,"noattachment":false,"key":"/micromark-util-decode-string/-/micromark-util-decode-string-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/micromark-util-decode-string/download/micromark-util-decode-string-1.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-decode-string_1.0.0_1632054093181_0.4754689675542516"},"_hasShrinkwrap":false,"publish_time":1632054093315,"_cnpm_publish_time":1632054093315,"_cnpmcore_publish_time":"2021-12-14T05:19:32.439Z"}},"readme":"# micromark-util-decode-string\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][bundle-size-badge]][bundle-size]\n[![Sponsors][sponsors-badge]][opencollective]\n[![Backers][backers-badge]][opencollective]\n[![Chat][chat-badge]][chat]\n\nmicromark utility to decode markdown strings.\n\n## Contents\n\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`decodeString(value)`](#decodestringvalue)\n*   [Security](#security)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install micromark-util-decode-string\n```\n\n## Use\n\n```js\nimport {decodeString} from 'micromark-util-decode-string'\n\ndecodeString('a &semi; b') // 'a ; b'\ndecodeString('a \\\\; b') // 'a ; b'\ndecodeString('a ; b') // 'a ; b'\n```\n\n## API\n\nThis module exports the following identifiers: `decodeString`.\nThere is no default export.\n\n### `decodeString(value)`\n\nmicromark utility to decode markdown strings (which occur in places such as\nfenced code info strings, destinations, labels, and titles).\nThe “string” content type allows character escapes and -references.\nThis decodes those.\n\n###### Parameters\n\n*   `value` (`string`) — Value to decode.\n\n###### Returns\n\n`string` — Decoded value.\n\n## Security\n\nSee [`security.md`][securitymd] in [`micromark/.github`][health] for how to\nsubmit a security report.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`micromark/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organisation, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/micromark/micromark/workflows/main/badge.svg\n\n[build]: https://github.com/micromark/micromark/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark.svg\n\n[coverage]: https://codecov.io/github/micromark/micromark\n\n[downloads-badge]: https://img.shields.io/npm/dm/micromark-util-normalize-identifier.svg\n\n[downloads]: https://www.npmjs.com/package/micromark-util-normalize-identifier\n\n[bundle-size-badge]: https://img.shields.io/bundlephobia/minzip/micromark-util-normalize-identifier.svg\n\n[bundle-size]: https://bundlephobia.com/result?p=micromark-util-normalize-identifier\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[opencollective]: https://opencollective.com/unified\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/micromark/micromark/discussions\n\n[license]: https://github.com/micromark/micromark/blob/main/license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/micromark/.github\n\n[securitymd]: https://github.com/micromark/.github/blob/HEAD/security.md\n\n[contributing]: https://github.com/micromark/.github/blob/HEAD/contributing.md\n\n[support]: https://github.com/micromark/.github/blob/HEAD/support.md\n\n[coc]: https://github.com/micromark/.github/blob/HEAD/code-of-conduct.md\n","_attachments":{},"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"license":"MIT"}