https://github.com/smallhelm/normalize.css.js
Inject normalize.css by simply require("normalize.css.js") This is also safe to do on the server
https://github.com/smallhelm/normalize.css.js
Last synced: 11 months ago
JSON representation
Inject normalize.css by simply require("normalize.css.js") This is also safe to do on the server
- Host: GitHub
- URL: https://github.com/smallhelm/normalize.css.js
- Owner: smallhelm
- License: mit
- Created: 2015-10-12T13:40:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-12T16:56:21.000Z (over 10 years ago)
- Last Synced: 2025-02-04T22:28:11.327Z (over 1 year ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# normalize.css.js
Inject normalize.css into browser by require("normalize.css.js"). This also returns the css code and safe to run on the server.
* No browserify transform needed.
* This works similar to [insert-css](https://www.npmjs.com/package/insert-css).
* Always installs the latest [normalize.css](https://www.npmjs.com/package/normalize.css).
* Runs safely on both client and server
## Example
```js
require("normalize.css.js");
```
On the browser it will inject the css into the ``
You can also use this to get the css code of normalize.css
```js
var normalize_css_code = require("normalize.css.js");
```
## Install
```sh
$ npm install --save normalize.css.js
```
## License
MIT