stylesheets

0.0.5 • Public • Published

stylesheets

Mission

Insert stylesheet requires on the server and client.

API for component authors

  • require('stylesheets').requireStylesheet("myfile.css"): ensure a stylesheet is in the document. must contain only a literal string, concat operator or process.env.STATIC_ROOT.

API for users

  • var headmarkup = require('stylesheets').getHeadMarkupFor(function() { /* your app code */ }); -- get the HTML needed to include stylesheets into a static HTML file.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    131
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    131
  • 0.0.4
    3
  • 0.0.3
    2
  • 0.0.2
    1
  • 0.0.1
    2

Package Sidebar

Install

npm i stylesheets

Weekly Downloads

47

Version

0.0.5

License

Apache 2

Last publish

Collaborators

  • floydophone