node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

fsendswith

fsendswith

Check if a file ends with a given utf-8 string.

NPM

Install

with npm do:

npm install fsendswith

Usage

var endswith = require('fsendswith');

endswith('myfile.csv', '\n', function(err, ok){

});

Tests

npm test

License

MIT