[Pkg-javascript-commits] [node-diacritics] 02/06: Imported Upstream version 1.2.1
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sat May 16 17:18:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
andrewrk-guest pushed a commit to branch master
in repository node-diacritics.
commit 59d02ee423c427ede9339e908e6f00ac99569f38
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Sat May 16 17:10:56 2015 +0000
Imported Upstream version 1.2.1
---
.gitignore | 2 --
LICENSE | 23 +++++++++++++++++++++++
Makefile | 11 -----------
README.md | 21 +++++++--------------
component.json | 20 --------------------
package.json | 12 +++++++++---
6 files changed, 39 insertions(+), 50 deletions(-)
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 48a2e24..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-components
-build
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..0bbb53e
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,23 @@
+The MIT License (Expat)
+
+Copyright (c) 2014 Andrew Kelley
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation files
+(the "Software"), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 0f14dac..0000000
--- a/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-
-build: components index.js
- @component build --dev
-
-components: component.json
- @component install --dev
-
-clean:
- rm -fr build components template.js
-
-.PHONY: clean
diff --git a/README.md b/README.md
index 1a957e5..d951675 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,14 @@
+# node-diacritics
-# diacritics
+remove diacritics from strings
- remove diacritics from strings
+useful when implementing some kind of search or filter functionality.
- useful when implementing some kind of search or filter functionality.
+## Installation
-## Node.js Installation
-
- $ npm install diacritics
-
-## Component Installation
-
- $ component install andrewrk/diacritics
+```
+$ npm install diacritics
+```
## API
@@ -20,7 +17,3 @@ var removeDiacritics = require('diacritics').remove;
console.log(removeDiacritics("Iлtèrnåtïonɑlíƶatï߀ԉ"));
// prints "Internationalizati0n"
```
-
-## License
-
- MIT
diff --git a/component.json b/component.json
deleted file mode 100644
index b4bb550..0000000
--- a/component.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "name": "diacritics",
- "repo": "andrewrk/diacritics",
- "description": "remove diacritics from strings ('ascii folding')",
- "version": "1.0.0",
- "keywords": [
- "diacritics",
- "remove",
- "removal",
- "search",
- "string",
- "ascii",
- "folding"
- ],
- "dependencies": {},
- "development": {},
- "scripts": [
- "index.js"
- ]
-}
diff --git a/package.json b/package.json
index fdd91be..eaa5566 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "diacritics",
- "version": "1.2.0",
+ "version": "1.2.1",
"description": "remove diacritics from strings",
"main": "index.js",
"scripts": {
@@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
- "url": "https://github.com/andrewrk/diacritics.git"
+ "url": "https://github.com/andrewrk/node-diacritics.git"
},
"keywords": [
"diacritics",
@@ -18,5 +18,11 @@
"string"
],
"author": "Andrew Kelley",
- "license": "MIT"
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/andrewrk/node-diacritics/issues"
+ },
+ "directories": {
+ "test": "test"
+ }
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-diacritics.git
More information about the Pkg-javascript-commits
mailing list