{"_id":"widont","_rev":"9-9666a95bfa9f56a5afcf50180b58343f","name":"widont","time":{"modified":"2023-11-15T14:11:46.550Z","created":"2017-11-16T11:37:02.141Z","0.1.0":"2017-11-16T11:37:02.141Z","0.2.0":"2017-11-16T12:59:26.048Z","0.3.0":"2019-02-08T17:24:49.376Z","0.3.1":"2019-02-08T17:27:11.645Z","0.3.2":"2019-02-08T17:38:19.486Z","0.3.3":"2019-07-11T07:35:19.250Z","0.3.4":"2023-02-20T10:11:45.755Z","0.4.0":"2023-11-15T14:11:46.386Z"},"maintainers":[{"name":"mogelbrod","email":"victor@hallberg.cc"}],"dist-tags":{"latest":"0.4.0"},"description":"Avoids typographical widows in strings by converting the last space/hyphens to be non-breaking","readme":"# widont\n\nIn typesetting, single words on the last line of a paragraph are commonly known\nas [widows](https://en.wikipedia.org/wiki/Widows_and_orphans), and are\nconsidered bad style. `widont` eliminates the issue of widows by using a\nnon-breaking space to force the last two words of a string onto the same line.\nIf the last word contains hyphens they will be converted to the non-breaking\nvariant instead.\n\n## Usage\n\n```js\nvar widont = require('widont')\n\nwidont('I dream of a world without widows')\n// => 'I dream of a world without\\u00a0widows'\n\nwidont('I like words with hyphens that stick-together')\n// => 'I like words with hyphens that stick\\u2011together'\n\nwidont('I get HTML entities instead', 'html')\n// => 'I get HTML entities&nbsp;instead'\n\nwidont('I get exclamation marks', { spaces: '!!', hyphens: '??' })\n// => 'I get exclamation!!marks'\n```\n\n### In TypeScript\n\n```ts\nimport * as widont from 'widont'\n\nwidont('TypeScript says hello', 'html')\n// => 'TypeScript says&nbsp;hello'\n```\n\n## API\n\n### `widont(string, [replacements='unicode'], [minWords=3])`\n\nReplaces any number of whitespace before the last word of `string` with a\nnon-breaking space, unless the last word contains hyphens in which case they\nwill be replaced (by non-breaking hyphens) instead. Trims trailing whitespace\nat the end of `string` if present. Returns non-string inputs as-is.\n\nThe optional `replacements` argument specifies what characters to use as\nreplacements. It can either be a string that maps to a set of predefined\ncharacters (`unicode`, `html` or `ascii`), or an object with the keys `space`\nand `hyphen` (both must be provided):\n\n```js\n{\n  space: '_',\n  hyphen: '~'\n}\n```\n\nA `TypeError` will be thrown for unknown or incomplete `replacements` values.\n\nThe `minWords` argument specifies the minimum number of words requires to be\npresent in the string for the replacement to be applied. It defaults to 3 to\navoid forcing strings only consisting of two words to be kept together, as that\ncould lead to them overflowing.\n\n## Origins\nThe original `widont` was created by\n[Shaun Inman](https://shauninman.com/archive/2006/08/22/widont_wordpress_plugin).\nThis implementation is based on the version in\n[Kirby CMS](https://github.com/getkirby/toolkit/blob/0ceeb44186ec0e34e45e283ddf0f99a00c192ba9/lib/str.php#L378),\nwhich extends the original by using non-breaking hyphens if the last word\ncontains hyphens.\n\n## License\n\n[MIT](http://www.opensource.org/licenses/mit-license.php)\n","versions":{"0.2.0":{"name":"widont","version":"0.2.0","description":"Avoids typographical widows in strings by converting the last space/hyphens to be non-breaking","scripts":{"lint":"eslint .","test":"mocha","preversion":"npm run lint && npm run test"},"main":"index.js","files":["index.js"],"author":{"name":"Victor Hallberg","email":"victor@hallberg.cc","url":"http://hallberg.cc/"},"repository":{"type":"git","url":"git+https://github.com/mogelbrod/widont.git"},"homepage":"https://github.com/mogelbrod/widont#readme","bugs":{"url":"https://github.com/mogelbrod/widont/issues"},"license":"MIT","keywords":["widont","widow","strings","typography","utility","util"],"devDependencies":{"eslint":"^4.11.0","mocha":"^4.0.1"},"gitHead":"bc7da4b6b88f261b197940b7755ebc37ddd9e70f","_id":"widont@0.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"mogelbrod","email":"victor@hallberg.cc"},"dist":{"integrity":"sha512-Q0GkeJVb0h8drn+9ohkckAxNSQHuebJQg8m2c/lFyEkiL/19/sxtg2sW7JnjSgyFa7qjBEc826OQ8jFxWOAWXA==","shasum":"b1d92bcd487ef0c1253239d20eaff35bc5675bd2","tarball":"https://registry.npmjs.org/widont/-/widont-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfzPf795Lz9Fmzjr/RHsSAIStW+o2xUbKo/otTaBk99AIhAI+088s+qfCIY+BgoJweYX8aNgBJ59yvESPZHaglmTdE"}]},"maintainers":[{"name":"mogelbrod","email":"victor@hallberg.cc"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/widont-0.2.0.tgz_1510837165499_0.841935820877552"},"directories":{}},"0.3.0":{"name":"widont","version":"0.3.0","description":"Avoids typographical widows in strings by converting the last space/hyphens to be non-breaking","scripts":{"lint":"eslint .","test":"mocha","preversion":"npm run lint && npm run test"},"main":"index.js","types":"index.d.ts","author":{"name":"Victor Hallberg","email":"victor@hallberg.cc","url":"http://hallberg.cc/"},"repository":{"type":"git","url":"git+https://github.com/mogelbrod/widont.git"},"homepage":"https://github.com/mogelbrod/widont#readme","bugs":{"url":"https://github.com/mogelbrod/widont/issues"},"license":"MIT","keywords":["widont","widow","strings","typography","utility","util"],"devDependencies":{"eslint":"^5.13.0","mocha":"^5.2.0"},"gitHead":"23b5bb9ca26a905a43f84a10ad4c2151b3a9e8b4","_id":"widont@0.3.0","_npmVersion":"6.4.0","_nodeVersion":"9.9.0","_npmUser":{"name":"mogelbrod","email":"victor@hallberg.cc"},"dist":{"integrity":"sha512-hSRumW+LTeYvNjC59wyR5T89czA2a5kXLMpC0UFhj1NmtKwNRmMQqyyttYqu1CtFc86Eab24LjZ+FFU33zqYRQ==","shasum":"619c8c87d26702baf301edc3e707724158a3fa51","tarball":"https://registry.npmjs.org/widont/-/widont-0.3.0.tgz","fileCount":3,"unpackedSize":4580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXbtiCRA9TVsSAnZWagAAQiMP/3fw59Qsvp6dDt85DZRK\newdQXXOQc4j2eNCEjqlBcqo0GOdbeD1MFAjyMi5EuB2orVqMAW7QwcviBFRM\nv50QtyuA6Lzd+NCyoA99uSOv0VNhHtrYLxOME5X7n7xlwCwo08jstbkOT697\n+DI5aZ34zD1Jp31HVow0k+UPPc6ZNBpoLsJUvH88MNPjOHytVowKHC0GEaPR\ncde4J6z8LRyYv9nA7oZaevobsI48sGod9rJfIaM7FiR07O4Ehf6mJRV5pSrN\ncCaJ7PIecpFQC2w7Ca5VKf0hYivlG+w3FlN/N4AK89lmO6s5AlJah8DHq+dz\nDLHP2H3Uk/JJWJYx80oHIjmt2gO+WeBsO72DLAP42kWRvRzW8xmDhQROyS4n\nar0NswkFsy6aEvXfn+Zj3gKwU+BBppXcBjeZ9MsD6EZoioLuDa/YleeXGIFR\n9k1rX4Nl18kBTy0UL0Grk8nUzZ1UOXA0UpgH5tZPvwwgJb5I5n7HtREI/ztu\nfJsdTjn8iJLmrwycgM9rHZlVFHXuuse7xsifS6YC+Lzughoh3aH0+y8DQWJ/\nam8zClNygHqPAHdY7ktT6VBrP0DbJZwxDWRK+oxxEnhq5YY/KXvqIm2FyaSL\n4wm1rXX4MqxZmW/F+YCaVDuRLXDAKhCPn/NhAVCmcZwD7lJnIhct//yofPju\nK6yo\r\n=6PVH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSCSo8yqp+kgRzfxRir1243tJ/2m79aZYHQrICESVvwwIgeZV786FKq9JTctwHH2e+6bUPg4e6+x4hbvV7eUVgqHk="}]},"maintainers":[{"name":"mogelbrod","email":"victor@hallberg.cc"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/widont_0.3.0_1549646689257_0.13719405956474318"},"_hasShrinkwrap":false},"0.3.1":{"name":"widont","version":"0.3.1","description":"Avoids typographical widows in strings by converting the last space/hyphens to be non-breaking","scripts":{"lint":"eslint .","test":"mocha","preversion":"npm run lint && npm run test"},"main":"index.js","types":"index.d.ts","author":{"name":"Victor Hallberg","email":"victor@hallberg.cc","url":"http://hallberg.cc/"},"repository":{"type":"git","url":"git+https://github.com/mogelbrod/widont.git"},"homepage":"https://github.com/mogelbrod/widont#readme","bugs":{"url":"https://github.com/mogelbrod/widont/issues"},"license":"MIT","keywords":["widont","widow","strings","typography","utility","util"],"devDependencies":{"eslint":"^5.13.0","mocha":"^5.2.0"},"gitHead":"daed9b2f718006cf4c3d350acb5d62027233654a","_id":"widont@0.3.1","_npmVersion":"6.4.0","_nodeVersion":"9.9.0","_npmUser":{"name":"mogelbrod","email":"victor@hallberg.cc"},"dist":{"integrity":"sha512-H+BBeWU0eRcjeGIxunzbAlUC+D6587kgHSLgVElPbkEJRyYChkc8vVuan3VGo46BE3mb1hsmsEeK8K1RivvcJg==","shasum":"a0e2c4292afc700e410c8a913649a43008b70c46","tarball":"https://registry.npmjs.org/widont/-/widont-0.3.1.tgz","fileCount":4,"unpackedSize":4926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXbvvCRA9TVsSAnZWagAAnPIQAJGcQtnU9YoMT1sMjsAN\ndK8RufypGPvJlUf1SeIcFeKUabxLy3MhwY5wSDq+GOiln8oElfD/8NRlyq20\nNfkifUcTl/kYFIIZP406HFl/GuMlMzk7GejT26nvzudQEO9aUXX/N0eOfJgE\n6aSsgJWjZD/Mg0XtO3/szNRFJDwLbeBDnjjf48S02BZIqgAJxjPTzHhqTyDq\n3V6M0nEl/zLoyeDhIZVBALYzf8TQlM8s1Z3gXnnqIBBJ9s0yTRnQeQVUPOg3\n9V4Peb19HOggtbUd2ZVjKfbqmrHOjUyhW0s3d27b0HBUJTQfGf6egXNS1Qur\nLmI7UPhVziqOiTGnXeA7vQXk0bEHXiZDjT53AjXdkY6RsUanciEo37EK5UTV\naIk1NWpGXxxQuQHDPqe1NHyqumCS81nj2l9AA6GuYHhO9A7prSj04zSVbh+t\n4NqAsfgA7dCox0YgiD6t507M/Rn4OP/KHLCaTgBn5L70Md5trjOXqIPWapkD\n+784W+COrX8bQNSFto0mqzuSZAEAN4ZU5clHZ8piRqTDaDO2zNEYy18fx9eK\n1XrxqVTeREl/BSVNqYtts9jerNsSNLnDGUwQOFn7SuHlb3ceYiv+3CnjHvEf\nkXQQNQNMVyqAbiPxTjGc82h/K7NAwEB+Z7z9P+BK58SQGvBXXACsGGDnPeRW\n5DsS\r\n=27bF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmr9WAvCLhx/SHCppnxxKqjrBvWY5hXSu/ppBAWesx4wIgZz59LaMJXnTX+ghC+epfVh04JdolZpQZYYFYA6cgw8k="}]},"maintainers":[{"name":"mogelbrod","email":"victor@hallberg.cc"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/widont_0.3.1_1549646831468_0.6798636454032203"},"_hasShrinkwrap":false},"0.3.2":{"name":"widont","version":"0.3.2","description":"Avoids typographical widows in strings by converting the last space/hyphens to be non-breaking","scripts":{"lint":"eslint .","test":"mocha","preversion":"npm run lint && npm run test"},"main":"index.js","types":"index.d.ts","author":{"name":"Victor Hallberg","email":"victor@hallberg.cc","url":"http://hallberg.cc/"},"repository":{"type":"git","url":"git+https://github.com/mogelbrod/widont.git"},"homepage":"https://github.com/mogelbrod/widont#readme","bugs":{"url":"https://github.com/mogelbrod/widont/issues"},"license":"MIT","keywords":["widont","widow","strings","typography","utility","util"],"devDependencies":{"eslint":"^5.13.0","mocha":"^5.2.0"},"gitHead":"ac3c005bce170882d9be1dd866713d838d041359","_id":"widont@0.3.2","_npmVersion":"6.4.0","_nodeVersion":"9.9.0","_npmUser":{"name":"mogelbrod","email":"victor@hallberg.cc"},"dist":{"integrity":"sha512-LvTtjlzOH2XnEXy4jQX/AkWHKUpKGb4sNHQf4ITavq1ejH7SO4Xvw8+lRSmRh+78jlxcKZSTZ2qfRGDSeX9K5A==","shasum":"679fd337e5bd9858ac216df3c73a3494d9674dec","tarball":"https://registry.npmjs.org/widont/-/widont-0.3.2.tgz","fileCount":4,"unpackedSize":5065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXb6LCRA9TVsSAnZWagAAcocQAIrNNSr3geZt0J72trSU\nmB2PbflUAEPfhgHeFL6HOX9/30x+fpXbhL1/i/r7GruMa0Ncp/rCDg4VJDsX\nTxTXELDvCv+IB/lkf5GsTLeNWepKUK/hugkKVmNKKnJd1VWTo5yyA6nIee4H\np3nPe8K96spVSBlbaT5Lb6BaJP1BQxymk534+2Y6s1xlheABxMpv3cEOUWc0\n9O6fwDIsC/9LyCUn5RJxZtBsp04zKoZHQEZ5Lp3xbHDlIfphZj5Ry6wF3Vz6\n9dMLHj5fnUHiWUcXyUozmuyVlONO60y5lUirXWDgV0etR4VL11pVJMY5u6Ng\nzwU2lOWN7uJRYX7h+DpazKsoOb2BJpXdm3cvpflTrsVHld4U/DjBF1oPZSsn\nUJwCQCQSpB3kHvr7JawuzMiDcfdx3UriWGOkbPqYqDD0DzvTbmUAcBmHmEot\nwtyaioHbhNajUpcq9XBqq37vVyfoi2TcrKUkQuxORQ3DostSMVFYKQt+Lmax\nd1h248IRxIf1tuii0Wr84JtIoDXVvvjc+ktVjY3VxC8PJR/AZcKom+5U8jXG\n7GPPdmRdxatYfhcC/0kFgfiJhjgeYAtcnPe4x11Y9XDVkcPyNNAJuuUpED4H\n+4L+l2r/ueAaEBXsiUcTNswzp+OKCXRqTvKQ3cUNfOP3BPoZPUEnKY+PYAKN\ndXJB\r\n=4rfz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDVdhfqwB3tXSXyguahOIrKHw6Xwm94DfxyBY+MTJp/0AiEAqf3Jd4pEx15nmVYr+KEv26dAFo/Uvkk5eabxtQuID1Y="}]},"maintainers":[{"name":"mogelbrod","email":"victor@hallberg.cc"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/widont_0.3.2_1549647499384_0.516554036106103"},"_hasShrinkwrap":false},"0.3.3":{"name":"widont","version":"0.3.3","description":"Avoids typographical widows in strings by converting the last space/hyphens to be non-breaking","scripts":{"lint":"eslint .","test":"mocha","preversion":"npm run lint && npm run test"},"main":"index.js","types":"index.d.ts","author":{"name":"Victor Hallberg","email":"victor@hallberg.cc","url":"http://hallberg.cc/"},"repository":{"type":"git","url":"git+https://github.com/mogelbrod/widont.git"},"homepage":"https://github.com/mogelbrod/widont#readme","bugs":{"url":"https://github.com/mogelbrod/widont/issues"},"license":"MIT","keywords":["widont","widow","strings","typography","utility","util"],"devDependencies":{"eslint":"^6.0.1","mocha":"^6.1.4"},"gitHead":"dde99ea2ccc098c6a7e023c5e7160a29208ff178","_id":"widont@0.3.3","_nodeVersion":"12.1.0","_npmVersion":"6.9.2","dist":{"integrity":"sha512-D0VICcKECbHrlgBmbM/WFKrhMCkt3ys+MxBrm+jLEsXwqM3/b73Yakjlp+bvAAI5hhY5pkYlXAtEbf49rwxa2w==","shasum":"e20743942d02fd6c28ef4d3ff8ee1740146489be","tarball":"https://registry.npmjs.org/widont/-/widont-0.3.3.tgz","fileCount":4,"unpackedSize":5047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJua3CRA9TVsSAnZWagAAAtkP/jDv90FeSvQwaEay+sLy\nq+lvHHx85CADa0eq5fE34tdLPnAQEe+Ji8CCuBh8jLdEtUFCStinv9DS6ZUP\neXKNbczoqdLqpF2xh6h1p7NAGJeDjHG8snDkFVDgywctOx+07MGzxjaeQNAB\nRNzT/IEXzqqfgwUFCW/aqRf3uGzPt4ae3K1mDMgLL+g4eKL5jVBB5x/H4IuC\nnIvH/rJ56gzUp8+JU5lzHPuM9+dgbzNmaeAX7OVDsbKXgXzvsZYtfUOoIYRq\nQyXBSegKY3BL0YIYZsH/E44rT71cDWVwTgbmjADoBANhcYJT0i/RRaO44kQA\nDu+gFkuUkvzLwb4t1yS3cMAOtmseNwkptO3xW/EbTQoBRZ7oXuerwaDgc6d9\nYyjrkdq3nIBLByzbtMSl84u+ob6tvY2PYH+r/kdyX7vn4wvHlAh6RD8ldNSV\n6ByhbF7ffkEnUC5RyWyZ9CXW1FGeTRDjtSaUlbSjtZMxJVIppKdrpgiB3J4k\ncTIrTxNITjkP7G1yG4/76N7+pEmojMVR7DRmlOQFFEHZztzBFUEtbvl2onc8\nKSz/PGuxL+mC0ixLPbFwRL0OZ+oQai/Yn+GlGFQu2RiNgOHeU6+NjcW0Dqjg\nPS3SOHJHlg5n0pltUy1Wzoi0zOpooPj+SUDZSTD2d2f/inXakTp96fCAniy2\n8PRj\r\n=6gzu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKSC7D9Av3zjrf8GdJZbh7lkNLamR/kz7DjPuzj/P+cwIgJjcRc1XYHDy+1cHuik+2I6aCqRRz246RacneNOXTW2I="}]},"maintainers":[{"name":"mogelbrod","email":"victor@hallberg.cc"}],"_npmUser":{"name":"mogelbrod","email":"victor@hallberg.cc"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/widont_0.3.3_1562830519042_0.035542691553817285"},"_hasShrinkwrap":false},"0.3.4":{"name":"widont","version":"0.3.4","description":"Avoids typographical widows in strings by converting the last space/hyphens to be non-breaking","scripts":{"lint":"eslint .","test":"mocha","preversion":"npm run lint && npm run test"},"main":"index.js","types":"index.d.ts","author":{"name":"Victor Hallberg","email":"victor@hallberg.cc","url":"http://hallberg.cc/"},"repository":{"type":"git","url":"git+https://github.com/mogelbrod/widont.git"},"homepage":"https://github.com/mogelbrod/widont#readme","bugs":{"url":"https://github.com/mogelbrod/widont/issues"},"license":"MIT","keywords":["widont","widow","strings","typography","utility","util"],"devDependencies":{"eslint":"^6.0.1","mocha":"^10.2.0"},"gitHead":"2c5e8ca914ee9d990c8993a38e38a8bb4e327dcd","_id":"widont@0.3.4","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-X4/KhsPmilZbHaqsApmOM7i+Sr/lKDwvRjX0wSAh8gUfv1Au2IFIXQQ/LMbP4X+cQR01lxvEF6FXS0Je0i4FyA==","shasum":"b79090d2e376e1c144e3b2cb759318feb8fe25f4","tarball":"https://registry.npmjs.org/widont/-/widont-0.3.4.tgz","fileCount":4,"unpackedSize":5047,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGMNp02rUV4sdmL6sX4Y23BAH/Otgyz36KqDxoz3sf+sAiEA4e+E+/K1DckjeZ8+iUFuYngPbxaRLpgCcyuZwBgLH2E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj80dhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmriVg//c3uGEllwhNxh8YT1q0IgmRjGKG6pwzar2JEkDvnCj7GtB+Ck\r\n6eHBb1UkwsLY35aBHNWA7AKAciRGOvM9hx6qRWADF3cO9E2BC9qQhMGEX56H\r\nmkYbCDQFIp6G2475pa5l3WX+s+DeeOO2HpUmvZpl6V6AtRj5vIHNE1bJBAsA\r\nwd89vpZ+mz3Dj8rFtM1NKrYUwRQotsa9TbNB93j3yIKeQeZzPoSzQtNWbCtH\r\nvbqkWWw5QHqzipiV5vfoByAWXTygjm62r7QOVwskTwX1YAFdqxLQV2wqMaSK\r\nDLBeQB9BWwkdYh8gK6FEMkFXImbrDSHaEfhA/KwifEEsQhtPoGbsxNY6LBtv\r\nsB1YV41w8VS4rtBE1kA8GrSntn9pX/TTIyGuddlj44Ni6KOih1B32XSXm+t9\r\n3RCyEMSbd9/d00cUMbqaDZeOPsx3frs79nUms6dux0qk1qCiuALAel7QiKM6\r\nFiIswlpEzQqgswfgiwrbYmd5VRVKWtNtLQiMgskKprr11a51vUob+3PsD8QC\r\n6ibq+k0NYXSznz2an8yUlO0+n8Gcngb50Dyzg9JIdXUJWLoIUfGvP9wu3zb0\r\ndv4kALQ/JJjWSQMWi+V9YROqBQ8jQlgv5Q0yXJ7voI+FI4nnThiYiuQcQtvC\r\nWoLWbwadKIvfqMKFE+c8i+93baSbL9VnYMA=\r\n=Mdo3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mogelbrod","email":"victor@hallberg.cc"},"directories":{},"maintainers":[{"name":"mogelbrod","email":"victor@hallberg.cc"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/widont_0.3.4_1676887905589_0.27465729447671294"},"_hasShrinkwrap":false},"0.4.0":{"name":"widont","version":"0.4.0","description":"Avoids typographical widows in strings by converting the last space/hyphens to be non-breaking","scripts":{"lint":"eslint .","test":"mocha","preversion":"npm run lint && npm run test"},"main":"index.js","types":"index.d.ts","author":{"name":"Victor Hallberg","email":"victor@hallberg.cc","url":"http://hallberg.cc/"},"repository":{"type":"git","url":"git+https://github.com/mogelbrod/widont.git"},"homepage":"https://github.com/mogelbrod/widont#readme","bugs":{"url":"https://github.com/mogelbrod/widont/issues"},"license":"MIT","keywords":["widont","widow","strings","typography","utility","util"],"devDependencies":{"eslint":"^6.0.1","mocha":"^10.2.0"},"_id":"widont@0.4.0","gitHead":"7a4ddeadf3dff5f5926b7be0a749ec533b1f474c","_nodeVersion":"20.8.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-2lSOfQ32Q9dmW9W/7vdPygAWyBATZ8xGFPplPKDb1FPySs4W0V1b0T07oCeQcwID+d5W5dHgePkiLsfhg1S52w==","shasum":"12efe22c12386fbe5a49da74528bb8bb8f7b9946","tarball":"https://registry.npmjs.org/widont/-/widont-0.4.0.tgz","fileCount":4,"unpackedSize":5884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSY9Potjs+wSYs/2IaXfJ2z0wtjguIPAll6ORWueDHGAIgGbNfXmPUOS+50qRV5/GdUc/6dHtQJbDcIIdVqcFCSqo="}]},"_npmUser":{"name":"mogelbrod","email":"victor@hallberg.cc"},"directories":{},"maintainers":[{"name":"mogelbrod","email":"victor@hallberg.cc"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/widont_0.4.0_1700057506213_0.004680429017975829"},"_hasShrinkwrap":false}},"homepage":"https://github.com/mogelbrod/widont#readme","keywords":["widont","widow","strings","typography","utility","util"],"repository":{"type":"git","url":"git+https://github.com/mogelbrod/widont.git"},"author":{"name":"Victor Hallberg","email":"victor@hallberg.cc","url":"http://hallberg.cc/"},"bugs":{"url":"https://github.com/mogelbrod/widont/issues"},"license":"MIT","readmeFilename":"README.md"}