UNPKG

motion

Version:

motion - moving development forward

81 lines (80 loc) 4.05 kB
{ "_args": [ [ "postcss-normalize-url@https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.5.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "postcss-normalize-url@>=3.0.4 <4.0.0", "_id": "postcss-normalize-url@3.0.5", "_inCache": true, "_location": "/postcss-normalize-url", "_phantomChildren": {}, "_requested": { "name": "postcss-normalize-url", "raw": "postcss-normalize-url@https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.5.tgz", "rawSpec": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.5.tgz", "scope": null, "spec": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.5.tgz", "type": "remote" }, "_requiredBy": [ "/cssnano" ], "_resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.5.tgz", "_shasum": "fbabf11283953f36bea7f7a44c2c3b1980790d36", "_shrinkwrap": null, "_spec": "postcss-normalize-url@https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.5.tgz", "_where": "/Users/nw/flint/packages/flint", "author": { "email": "beneb.info@gmail.com", "name": "Ben Briggs", "url": "http://beneb.info" }, "bugs": { "url": "https://github.com/ben-eb/postcss-normalize-url/issues" }, "dependencies": { "is-absolute-url": "^2.0.0", "normalize-url": "^1.3.1", "object-assign": "^4.0.1", "postcss": "^5.0.8", "postcss-value-parser": "^3.0.1" }, "description": "Normalize URLs with PostCSS", "devDependencies": { "jshint": "^2.8.0", "jshint-stylish": "^2.0.1", "tap-spec": "^4.1.0", "tape": "^4.2.1" }, "files": [ "LICENSE-MIT", "index.js" ], "homepage": "https://github.com/ben-eb/postcss-normalize-url", "keywords": [ "css", "normalize", "optimisation", "optimise", "postcss", "postcss-plugin", "url" ], "license": "MIT", "main": "index.js", "name": "postcss-normalize-url", "optionalDependencies": {}, "readme": "# [postcss][postcss]-normalize-url [![Build Status](https://travis-ci.org/ben-eb/postcss-normalize-url.svg?branch=master)][ci] [![NPM version](https://badge.fury.io/js/postcss-normalize-url.svg)][npm] [![Dependency Status](https://gemnasium.com/ben-eb/postcss-normalize-url.svg)][deps]\n\n> [Normalize URLs](https://github.com/sindresorhus/normalize-url) with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-normalize-url) do:\n\n```\nnpm install postcss-normalize-url --save\n```\n\n## Example\n\n### Input\n\n```css\nh1 {\n background: url(\"http://site.com:80/image.jpg\")\n}\n```\n\n### Output\n\n```css\nh1 {\n background: url(http://site.com/image.jpg)\n}\n```\n\nNote that this module will also try to normalize relative URLs, and is capable\nof stripping unnecessary quotes. For more examples, see the [tests](test.js).\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## API\n\n### normalize([options])\n\nPlease see the [normalize-url documentation][docs]. By default,\n`normalizeProtocol` & `stripFragment` are set to `false`; `stripWWW` to `true`.\n\n## Contributing\n\nPull requests are welcome. If you add functionality, then please add unit tests\nto cover it.\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[docs]: https://github.com/sindresorhus/normalize-url#options\n\n[ci]: https://travis-ci.org/ben-eb/postcss-normalize-url\n[deps]: https://gemnasium.com/ben-eb/postcss-normalize-url\n[npm]: http://badge.fury.io/js/postcss-normalize-url\n[postcss]: https://github.com/postcss/postcss\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/ben-eb/postcss-normalize-url.git" }, "scripts": { "lint": "jshint index.js lib/*.js --reporter node_modules/jshint-stylish/stylish.js", "test": "tape test.js | tap-spec" }, "version": "3.0.5" }