UNPKG

react-pivot

Version:

React-Pivot is a data-grid component with pivot-table-like functionality for data display, filtering, and exploration.

46 lines (45 loc) 2.05 kB
{ "name": "cssify", "version": "0.7.0", "description": "A simple Browserify transform for adding required styles to the browser.", "main": "./index.js", "scripts": { "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/davidguttman/cssify.git" }, "keywords": [ "browserify", "css", "transform", "browserify-transform", "dom", "browser" ], "browserify": "./browser.js", "author": { "name": "David Guttman" }, "license": "BSD", "dependencies": { "through": "~2.3.4" }, "devDependencies": { "concat-stream": "~1.0.1", "mocha": "~1.13.0", "jsdom": "~0.8.5", "browserify": "~3.32.1" }, "readme": "# cssify #\n\nA simple Browserify v2 transform for adding required styles to the browser.\n\n# Example\n\nIf you have a file `entry.js` that you want to require some css from `style.css`:\n\nstyle.css:\n``` css\nbody {\n background: pink;\n}\n```\n\nentry.js:\n``` js\nvar styleNode = require('./style.css');\n\nconsole.log('The background is pink!')\n```\n\nInstall cssify into your app:\n\n```\n$ npm install cssify\n```\n\nWhen you compile your app, just pass `-t cssify` to browserify:\n\n```\n$ browserify -t cssify entry.js > bundle.js\n```\n\n\n# Install\n\nWith [npm](https://npmjs.org):\n\n```\nnpm install cssify\n```\n\n# Bonus\n\nTo add a stylesheet from a url:\n\n``` js\n\nvar cssify = require('cssify')\n\ncssify.byUrl('//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css')\n\n// Bootstrap styles!\n\n```\n\n# License\n\nBSD\n\n# Misc\n\nThanks to substack's insert-css and domenic's simple-jadeify for helping me figure out how to actually test this thing.", "readmeFilename": "README.md", "gitHead": "d3e4d596d180f7bf2c3dffa7b1612720aea3baef", "bugs": { "url": "https://github.com/davidguttman/cssify/issues" }, "homepage": "https://github.com/davidguttman/cssify", "_id": "cssify@0.7.0", "_shasum": "89611ad8f18c488e67afbecbadae165ef4b290f4", "_from": "cssify@>=0.7.0 <0.8.0" }