equals-ignore-case

1.0.1 • Public • Published

equals-ignore-case

equalsIgnoreCase in javascript.

Installation

Install using npm:

npm install equals-ignore-casee

Example

const equalsIgnoreCase = require("equals-ignore-case")("en-US");
ignoreCase.equals('FOO', 'Foo'); // => true

API

factory(locale)

Returns a compare function for the provided locale.

compare.equalsIgnoreCase(string1, string2)

Returns true if the specified strings are equal in the specified locale ignoring case.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i equals-ignore-case

Weekly Downloads

3,848

Version

1.0.1

License

ISC

Unpacked Size

2.21 kB

Total Files

4

Last publish

Collaborators

  • bryan-lester-dolby
  • mildsunrise
  • murillo128
  • sgarcia