epiphany/node_modules/ends-with/.verbrc.md
2023-12-09 22:48:07 -08:00

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") %}