Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

normalize-for-search

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-for-search - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "normalize-for-search",
"version": "2.0.0",
"version": "2.0.1",
"description": "Un-accents and un-umlauts characters in a string. Also preliminary converts the string to lower case. We use it for autocomplete: both for the matched strings -- on the server side, when indexing; and for the strings the user types into a text input in the browser.",

@@ -5,0 +5,0 @@ "main": "src/normalize.js",

@@ -30,3 +30,3 @@ [![Build Status](https://travis-ci.org/ikr/normalize-for-search.svg?branch=master)](https://travis-ci.org/ikr/normalize-for-search)

## Direct <script> in the browser
## Directly in the browser

@@ -38,7 +38,7 @@ Including `src/normalize.js` into a Web page will create a global `normalizeForSearch` function.

normalizeForSearch('Dät ist naïve und ÜBERCOOL, ё-маё!');
// Results in 'dat ist naive und ubercool, е-мае!'
// 'dat ist naive und ubercool, е-мае!'
# License: MIT
Copyright (c) 2013 Ivan Krechetov
Copyright (c) 2016 Ivan Krechetov

@@ -45,0 +45,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc