Check if a file ends with a given utf-8 string.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
LICENSE
README.md
index.js
package.json

README.md

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