{
  "name": "trim-newlines",
  "version": "1.0.0",
  "description": "Trim newlines from the start and/or end of a string",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git://github.com/sindresorhus/trim-newlines"
  },
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "sindresorhus.com"
  },
  "engines": {
    "node": ">=0.10.0"
  },
  "scripts": {
    "test": "xo && ava"
  },
  "files": [
    "index.js"
  ],
  "keywords": [
    "trim",
    "newline",
    "newlines",
    "linebreak",
    "lf",
    "crlf",
    "left",
    "right",
    "start",
    "end",
    "string",
    "str",
    "remove",
    "delete",
    "strip"
  ],
  "devDependencies": {
    "ava": "*",
    "xo": "*"
  },
  "readme": "# trim-newlines [![Build Status](https://travis-ci.org/sindresorhus/trim-newlines.svg?branch=master)](https://travis-ci.org/sindresorhus/trim-newlines)\n\n> Trim [newlines](https://en.wikipedia.org/wiki/Newline) from the start and/or end of a string\n\n\n## Install\n\n```\n$ npm install --save trim-newlines\n```\n\n\n## Usage\n\n```js\nvar trimNewlines = require('trim-newlines');\n\ntrimNewlines('\\nunicorn\\r\\n');\n//=> 'unicorn'\n```\n\n\n## API\n\n### trimNewlines(input)\n\nTrim from the start and end of a string.\n\n### trimNewlines.start(input)\n\nTrim from the start of a string.\n\n### trimNewlines.end(input)\n\nTrim from the end of a string.\n\n\n## Related\n\n- [trim-left](https://github.com/sindresorhus/trim-left) - Similar to `String#trim()` but removes only whitespace on the left\n- [trim-right](https://github.com/sindresorhus/trim-right) - Similar to `String#trim()` but removes only whitespace on the right.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "bugs": {
    "url": "https://github.com/sindresorhus/trim-newlines/issues"
  },
  "homepage": "https://github.com/sindresorhus/trim-newlines",
  "_id": "trim-newlines@1.0.0",
  "dist": {
    "shasum": "c69fbe0602503864de18e1f547103039b7ecfc8c"
  },
  "_from": "trim-newlines@^1.0.0",
  "_resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz"
}
