{"_id":"load-styles","_rev":"6-65a7d6127dfa265c90021606c9b3735c","name":"load-styles","description":"Add a CSS <style> tag to the document's <head> node","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.1":{"name":"load-styles","description":"Add a CSS <style> tag to the document's <head> node","version":"1.0.1","keywords":["css","load","dynamic","head","style"],"license":"MIT","main":"index.js","_id":"load-styles@1.0.1","dist":{"shasum":"e3d114d615e4a036c5aefaecdd14d79c474a8eeb","tarball":"https://registry.npmjs.org/load-styles/-/load-styles-1.0.1.tgz","integrity":"sha512-9ud0v6wFrAuUybgPs8ZWI+/O+sNAJ8qxb8SXclv0fjYbn0YkAQGw3P8aBKTL3/GwCJglQeAQTQHyhQZ+xov+hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4B4wWQzT6u7/eOX5rwGt9WK2JI5DqadOABTlFIFYBcAiEA2218sGHHetVqdaSKJTLXbknxAW6HZX+W7tCcS5Es5gc="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}]},"2.0.0":{"name":"load-styles","description":"Add a CSS <style> tag to the document's <head> node","version":"2.0.0","keywords":["css","load","dynamic","head","style"],"license":"MIT","main":"index.js","gitHead":"8f35209985b4a1be4c293d9d32c8f918b7b54962","_id":"load-styles@2.0.0","scripts":{},"_shasum":"a0901c8f80ef0c869454eb580b4efc2f0be48471","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"a0901c8f80ef0c869454eb580b4efc2f0be48471","tarball":"https://registry.npmjs.org/load-styles/-/load-styles-2.0.0.tgz","integrity":"sha512-bKtTRlB+V8jij88ZoX73whwAbme5VQfmNPiK9KWDSyYevZgy3uwivIPBeM9w5+nyhA2BFFyWMSqPNola9MSn+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3dxvevSqgSmuqBBPTRSNmbkSHn15+nVX4JeTLn0o8AgIgSkQC+RUJ8GpkgS4/SGED6S90+1ExaQwgeaboTESbN4Q="}]}}},"readme":"load-styles\n===========\n### Add a CSS `<style>` tag to the document's `<head>` node.\n\n\nInstallation\n------------\n\n``` bash\n$ npm install load-styles\n```\n\n\nAPI\n---\n\n### loadStyles(String cssStr[, Document doc]) → `<style>`\n\nCreates a `<style>` DOM node with the specified `cssStr` text injected into it.\nThen, the `<style>` node is inserted into the `<head>` element of the `doc`\ndocument instance. Finally, the DOM node is returned back to the user in case\nany further action is required on the node.\n\n\nExample\n-------\n\n``` html\n<div id=\"foo\">This div should be red.</div>\n```\n\n``` js\nvar loadStyles = require('load-styles');\nloadStyles(\n  '#foo {' +\n  '  width: 100px;' +\n  '  height: 100px;' +\n  '  background-color: red;' +\n  '  text-align: center;' +\n  '  font-size: 9px;' +\n  '}'\n);\n```\n\n\nLicense\n-------\n\nMIT\n","maintainers":[{"name":"tootallnate","email":"nathan@tootallnate.net"}],"time":{"modified":"2022-06-19T13:12:53.842Z","created":"2014-02-07T00:53:48.141Z","1.0.1":"2014-02-07T00:53:48.141Z","2.0.0":"2014-12-03T23:23:00.462Z"},"readmeFilename":"Readme.md","keywords":["css","load","dynamic","head","style"],"license":"MIT"}