724 B
724 B
{%= name %} {%= badge("fury") %}
{%= description %}
Install
{%= include("install") %}
Run benchmarks
This uses the fasted version of 9 different implementations that were benchmarked.
node benchmark
Run tests
npm test
Usage
var endsWith = require('{%= name %}');
endsWith('abc', 'c');
//=> true
endsWith(['a', 'b', 'c'], 'c');
//=> true
endsWith(['abc', 'abc', 'abc'], 'c');
//=> false
endsWith(['abc', 'abc', 'abc'], 'c');
//=> false
endsWith(['a', 'b', 42], 42)
//=> true
endsWith(['a', 'b', 42], '42')
//=> false
Author
{%= include("author") %}
License
{%= copyright() %} {%= license() %}
{%= include("footer") %}