2.0.0 • Published 6 years ago

strip-eof v2.0.0

Weekly downloads
15,772,157
License
MIT
Repository
github
Last release
6 years ago

strip-eof Build Status

Strip the End-Of-File (EOF) character from a string/buffer

Install

$ npm install strip-eof

Usage

const stripEof = require('strip-eof');

stripEof('foo\nbar\n\n');
//=> 'foo\nbar\n'

stripEof(Buffer.from('foo\nbar\n\n')).toString();
//=> 'foo\nbar\n'

License

MIT © Sindre Sorhus

archetype-libraryvuedragdropuploadimagesreact-native-bluetooth2killi8n-react-native-fast-imagern-send-smsspecify-importsbabel-specify-imports@icanpm/api-masterfoshata-markdown@cashremit/cr-streamline-iconsreact-native-template-rfbaseairscanairscan-examplebb-chatreact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdeneme323112@texttree/demo-bsa-reference-rcl@ntt_app/react-native-custom-notificationreact-native-custom-text-hwjamesreact-native-covid-sdkgql_din_modreact-native-thanh-toast-library@thanhnguyen14797/react-native-thanh-toast-library@l1nyanm1ng/react-picture-viewercthpb-plugin-socialreact-native-printer-brothersrn-pdf-reader-offlinereact-native-shekhar-bridge-testwilscanner@oiti/documentoscopy-react-native@mink-opn/build-tokensquoc-testreact-native-slider-kfunblock-block-save-variables@infinitebrahmanuniverse/nolb-strip@saaspe/componentsplginexpand-react-bridge@everything-registry/sub-chunk-2837griffin-ui-librarytailwind-vector-effectsyncbackbasestest-carosello-campustest-library-123test-haptik-libtest-npm-jjmessiweb-elements-iconsvue-button-test1webchewoven-challenge-deploywifi_configuration_packagesuperset-plugin-chart-hello-world2supercluster-googlemaps-adapter-clonestechfox-icontechfox-react-featherspotify-ds-sestp-cdktestapatestnpm_lmnsvavatarsvelte-component-libvue-compmentvision-camera-plugin-scan-facesvision-camera-base64-resizedv9u-smb2-singstorvcloudcam-playkit-js-hlsvite_vue3_ts_ssssdddddyyyyvue-dev-clone@donapot/mylibtest@cryptocode99/token-lists@ct-note/table@ct-note/warning@cs6/react-native-test-native-view-library@ct-note/image@ct-note/inline-code@ct-note/list@ct-note/marker@ct-note/paragraph@ct-note/quote@ct-note/simple-image@ct-note/code@ct-note/delimiter@ct-note/embed@ct-note/header@con-test/react-native-concent-common@damian.lnc/core@damruravihara/react-native-testing-package@cube-design/react@cute-apocalypse/react-tree@corelmax/react-native-my2c2p-sdk@blkmarketco/components-library@beldore/react-otp-input@caneco/siema@rps-engine/core@praella/localisationist@percent/percent-api-hooks@poscredit/plugin-chart-boris@rbc-public/react-selectable-fast
2.0.0

6 years ago

1.0.0

9 years ago