node package manager
Easy collaboration. Discover, share, and reuse code in your team. 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