Skip to content

Commit

Permalink
Release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Feb 24, 2014
1 parent cf7df10 commit 3128857
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
12 changes: 12 additions & 0 deletions History.md
@@ -1,4 +1,16 @@

0.1.0 / 2014-02-24
==================

* decode with charset
* add npm image
* remove 0.6 for travis
* update to support coveralls
* use jscover instead of jscoverage
* update gitignore
* Merge pull request #1 from aleafs/master
* Add http entries test case

0.0.1 / 2012-10-31
==================

Expand Down
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -21,7 +21,13 @@ $ npm install urlencode
var urlencode = require('urlencode');

console.log(urlencode('苏千')); // default is utf8
console.log(urlencode('苏千', 'gbk'));
console.log(urlencode('苏千', 'gbk')); // '%CB%D5%C7%A7'

// decode gbk
urlencode.decode('%CB%D5%C7%A7', 'gbk'); // '苏千'

// parse gbk querystring
urlencode.parse('nick=%CB%D5%C7%A7', 'gbk'); // {nick: '苏千'}
```

## Benchmark
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "urlencode",
"version": "0.0.1",
"version": "0.1.0",
"description": "encodeURIComponent with charset",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 3128857

Please sign in to comment.