Socket
Book a DemoInstallSign in
Socket

stylesheets

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylesheets

statics implementation for stylesheets

latest
Source
npmnpm
Version
0.0.5
Version published
Weekly downloads
41
412.5%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

statics

FAQs

Package last updated on 27 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts