UNPKG

motion

Version:

motion - moving development forward

88 lines (87 loc) 4.18 kB
{ "_args": [ [ "center-align@https://registry.npmjs.org/center-align/-/center-align-0.1.2.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "center-align@>=0.1.1 <0.2.0", "_id": "center-align@0.1.2", "_inCache": true, "_location": "/center-align", "_phantomChildren": {}, "_requested": { "name": "center-align", "raw": "center-align@https://registry.npmjs.org/center-align/-/center-align-0.1.2.tgz", "rawSpec": "https://registry.npmjs.org/center-align/-/center-align-0.1.2.tgz", "scope": null, "spec": "https://registry.npmjs.org/center-align/-/center-align-0.1.2.tgz", "type": "remote" }, "_requiredBy": [ "/cliui" ], "_resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.2.tgz", "_shasum": "74fa8540fc19b26aae6edc7e031cd6993d495ba0", "_shrinkwrap": null, "_spec": "center-align@https://registry.npmjs.org/center-align/-/center-align-0.1.2.tgz", "_where": "/Users/nw/flint/packages/flint", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/center-align/issues" }, "dependencies": { "align-text": "^0.1.0", "lazy-cache": "^0.2.4" }, "description": "Center-align the text in a string.", "devDependencies": { "mocha": "^2.2.0" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js", "utils.js" ], "homepage": "https://github.com/jonschlinkert/center-align", "keywords": [ "align", "align-center", "center", "center-align", "right", "right-align", "text", "typography" ], "license": "MIT", "main": "index.js", "name": "center-align", "optionalDependencies": {}, "readme": "# center-align [![NPM version](https://badge.fury.io/js/center-align.svg)](http://badge.fury.io/js/center-align)\n\n> Center-align the text in a string.\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i center-align --save\n```\n\n## Usage\n\n```js\nvar centerAlign = require('center-align');\n```\n\n**Example**\n\nIf used on the following:\n\n```\nLorem ipsum dolor sit amet,\nconsectetur adipiscing\nelit, sed do eiusmod tempor incididunt\nut labore et dolore\nmagna aliqua. Ut enim ad minim\nveniam, quis\n```\n\nThe result would be:\n\n```\n Lorem ipsum dolor sit amet,\n consectetur adipiscing\nelit, sed do eiusmod tempor incididunt\n ut labore et dolore\n magna aliqua. Ut enim ad minim\n veniam, quis\n```\n\n## Related projects\n\n* [align-text](https://www.npmjs.com/package/align-text): Align the text in a string. | [homepage](https://github.com/jonschlinkert/align-text)\n* [justified](https://www.npmjs.com/package/justified): Wrap words to a specified length and justified the text. | [homepage](https://github.com/jonschlinkert/justified)\n* [right-align](https://www.npmjs.com/package/right-align): Right-align the text in a string. | [homepage](https://github.com/jonschlinkert/right-align)\n* [word-wrap](https://www.npmjs.com/package/word-wrap): Wrap words to a specified length. | [homepage](https://github.com/jonschlinkert/word-wrap)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/center-align/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 27, 2015._", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/center-align.git" }, "scripts": { "test": "mocha" }, "verb": { "related": { "description": "", "list": [ "align-text", "justified", "right-align", "word-wrap" ] } }, "version": "0.1.2" }