Socket
Socket
Sign inDemoInstall

equals-ignore-case

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    equals-ignore-case

equalsIgnoreCase in javascript


Version published
Maintainers
1
Install size
2.16 kB
Created

Readme

Source

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

FAQs

Last updated on 10 Apr 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc