1.8.0 • Published 4 years ago

read-last-lines v1.8.0

Weekly downloads
73,692
License
MIT
Repository
github
Last release
4 years ago

Read Last N Lines

NPM

Read in the last N lines of a file efficiently using node.js and fs.

Installation

npm install read-last-lines --save

Usage

example reading last 50 lines of a file

const readLastLines = require('read-last-lines');
readLastLines.read('path/to/file', 50)
	.then((lines) => console.log(lines));

Contributing

  1. Fork it on Github https://github.com/alexbbt/read-last-lines
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request against the development branch :D
multisig-servertotal-traffic-trader@titandeveos/uxwallet-cli@infinitebrahmanuniverse/nolb-read-@everything-registry/sub-chunk-2628pino-graylog-forwardersynapseapiwechaty-log-monitorwww.x0shado-cloud-database-sdkscpx-walletrealtime-logstechfi-clistatus-watcher-2kseries-episode-watchertgbot-helpersuucloud-cliuucloud-cli-fbcoremethodulus-describemetahoslogs-to-mqtt-publisherlog-explorerlog-watcher-2klarvitlogjaid-core-dashboardhueloghassio-onairhummingbird-bitcoinlog.io-tsgwenyjarssistantghost-clipandorapandora-dashboardopen-hubagentpsqrpomelots-adminpinusmod-adminpinus-adminomelox-adminomelop-adminomelot-adminnode-croniclepm2-restart-notifierperferendisdistinctionpm-log-explorerrc-ghost-clislickbottrioslibuniwue-lernplaetze-scraper@anyopsos/cli@arkecosystem/crypto-json-rpc@arkecosystem/core-cli@arkecosystem/exchange-json-rpc-cli@arkecosystem/json-rpc@arkecosystem/multisig-server@arkecosystem/multisig-server-cli@blockpool-io/core@cauriland/core-cli@abtnode/cli7ghost-cli@aakochnpm/timesheet@abtnode/corewatch-wp-debugwatchinharrison-xdlwazuh@igames/ghost-cli@loftysoul/soul-cli@mainsail/cli@expo/xdl@meeyi-opentelemetry/auto-instrumentations-voerka@meeyi-opentelemetry/exporter-file@meeyi-opentelemetry/instrumentation-voerka-common@jamropl/nodepad@jduarter/expo-cli@odysseia/cli@nuxthealth/dicom@palcort-tech/adm-decryptor@smartholdem/core-cli@swipechain/exchange-json-rpc-cli@swipechain/core-cli@solar-network/exchange-json-rpc-clidynableexpo-cliexport-helperexpo-raygun-sourcemapsfioparse@toucansam-bpl/core@trunx-io/cli@tycoon69-labs/exchange-json-rpc-cli@util.js/files@util.js/node-files@wize/appmakeradm-decryptor@yishitec/web@zce/ghost-cliantizan-log-viewerangular-build-v2flowice-handler-nextjsflowr-puppeteer-load-test
1.8.0

4 years ago

1.7.2

5 years ago

1.7.1

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

0.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago