Displaying 1 to 9 from 9 results

String

  •    Javascript

A robust & optimized ES3-compatible polyfill for the String.prototype.includes method (previously known as String.prototype.contains) in ECMAScript 6.Polyfills + test suites for String.prototype.startsWith and String.prototype.endsWith are available, too.

has-emoji - Check whether a string has any emoji

  •    Javascript

This can be useful when you need to prevent emoji in user input, for example, for usernames.




babel-plugin-array-includes - Replaces `arr.includes(val)' with `arr.indexOf(val) >= 0`.

  •    Javascript

Replaces arr.includes(val) with arr.indexOf(val) >= 0. Thanks to @kittens for the help.

contains-path - Return true if a file path contains the given path.

  •    Javascript

Return true if a file path contains the given path. As of v1.0.0, this library no longer uses regex for matching. Please do not hesitate to report any issues or regressiosn.

array-includes - Array.prototype.includes spec-compliant polyfill

  •    Javascript

An ES7/ES2016 spec-compliant Array.prototype.includes shim/polyfill/replacement that works as far down as ES3. This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the proposed spec.

Array

  •    HTML

This proposal is officially in stage 4 of the TC39 process, and is in the process of being integrated into the spec. This proposal was formerly for Array.prototype.contains, but that name is not web-compatible. Per the November 2014 TC39 meeting, the name of both String.prototype.contains and Array.prototype.contains was changed to includes to dodge that bullet.


array-includes - Array.prototype.includes spec-compliant polyfill

  •    Javascript

An ES7/ES2016 spec-compliant Array.prototype.includes shim/polyfill/replacement that works as far down as ES3. This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the proposed spec.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.