{"_id":"strip-lines","_rev":"2934731","name":"strip-lines","description":"Remove n lines from the beginning of a string","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"watson","email":""}],"time":{"modified":"2023-03-29T06:05:29.000Z","created":"2015-08-31T01:17:50.388Z","1.0.1":"2015-08-31T14:42:22.949Z","1.0.0":"2015-08-31T01:17:50.388Z"},"users":{},"author":{"name":"Thomas Watson Steen","email":"w@tson.dk","url":"https://twitter.com/wa7son"},"repository":{"type":"git","url":"git+https://github.com/watson/strip-lines.git"},"versions":{"1.0.1":{"name":"strip-lines","version":"1.0.1","description":"Remove n lines from the beginning of a string","main":"index.js","scripts":{"test":"standard && tape test.js"},"keywords":["strip","remove","trim","line","lines","crlf","newline"],"author":{"name":"Thomas Watson Steen","email":"w@tson.dk","url":"https://twitter.com/wa7son"},"license":"MIT","dependencies":{},"devDependencies":{"standard":"^5.1.1","tape":"^4.2.0"},"repository":{"type":"git","url":"git+https://github.com/watson/strip-lines.git"},"bugs":{"url":"https://github.com/watson/strip-lines/issues"},"homepage":"https://github.com/watson/strip-lines#readme","coordinates":[55.6877134,12.5956538],"gitHead":"6e17b32f080571df8bce0e678789a13a12bd522b","_id":"strip-lines@1.0.1","_shasum":"6737616ccb20f89fd81a18759e60aef93aa8bd75","_from":".","_npmVersion":"2.13.4","_nodeVersion":"0.12.7","_npmUser":{"name":"watson","email":"w@tson.dk"},"maintainers":[{"name":"watson","email":""}],"dist":{"shasum":"6737616ccb20f89fd81a18759e60aef93aa8bd75","size":2103,"noattachment":false,"key":"/strip-lines/-/strip-lines-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-lines/download/strip-lines-1.0.1.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T03:49:35.238Z","publish_time":1441032142949,"_cnpm_publish_time":1441032142949},"1.0.0":{"name":"strip-lines","version":"1.0.0","description":"Remove n lines from the beginning of a string","main":"index.js","scripts":{"test":"standard && tape test.js"},"keywords":["strip","remove","trim","line","lines","crlf","newline"],"author":{"name":"Thomas Watson Steen","email":"w@tson.dk","url":"https://twitter.com/wa7son"},"license":"MIT","devDependencies":{"standard":"^5.1.1","tape":"^4.2.0"},"dependencies":{"standard":"^5.1.1","tape":"^4.2.0"},"repository":{"type":"git","url":"git+https://github.com/watson/strip-lines.git"},"bugs":{"url":"https://github.com/watson/strip-lines/issues"},"homepage":"https://github.com/watson/strip-lines#readme","coordinates":[55.6876011722451,12.595897007637063],"gitHead":"9f099df0f31a3e483e9775682b6033f111b15ce2","_id":"strip-lines@1.0.0","_shasum":"9f894f9b1bec54b896da964ab75276fe88689b56","_from":".","_npmVersion":"2.13.4","_nodeVersion":"0.12.7","_npmUser":{"name":"watson","email":"w@tson.dk"},"maintainers":[{"name":"watson","email":""}],"dist":{"shasum":"9f894f9b1bec54b896da964ab75276fe88689b56","size":2114,"noattachment":false,"key":"/strip-lines/-/strip-lines-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/strip-lines/download/strip-lines-1.0.0.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-21T03:49:34.384Z","publish_time":1440983870388,"_cnpm_publish_time":1440983870388}},"readme":"# strip-lines\n\nRemove n lines from the beginning of a string.\n\n[![Build status](https://travis-ci.org/watson/strip-lines.svg?branch=master)](https://travis-ci.org/watson/strip-lines)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n## Installation\n\n```\nnpm install strip-lines\n```\n\n## Usage\n\n```js\nvar strip = require('strip-lines')\n\nvar str = 'foo\\r\\nbar\\nbaz'\n\n// remove the first 2 lines from `str`\nconsole.log(strip(str, 2)) // => baz\n```\n\n## API\n\nThe module exposes a single function which takes two arguments:\n\n```\nstrip(string, lines)\n```\n\n- `string` - The string that should be parsed\n- `lines` - The number of lines to remove from the beginning of the\n  provided `string`\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/watson/strip-lines#readme","bugs":{"url":"https://github.com/watson/strip-lines/issues"},"license":"MIT"}