normalize-for-search
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14639
8
115