Skip to content

Commit

Permalink
Fixed name for npmjs.org/pinyin
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed Mar 12, 2014
1 parent f73ab26 commit 4877228
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

----

[![NPM version](https://badge.fury.io/js/pinyinjs.png)](http://badge.fury.io/js/pinyinjs)
[![NPM version](https://badge.fury.io/js/pinyin.png)](http://badge.fury.io/js/pinyin)
[![Build Status](https://secure.travis-ci.org/hotoo/node-pinyin.png?branch=master)](https://travis-ci.org/hotoo/node-pinyin)
[![Coverage Status](https://coveralls.io/repos/hotoo/node-pinyin/badge.png?branch=master)](https://coveralls.io/r/hotoo/node-pinyin)

Expand All @@ -22,15 +22,15 @@ Python 版请关注 [mozillazg/python-pinyin](https://github.com/mozillazg/pytho
## 安装

```
npm install pinyinjs
npm install pinyin
```

## 用法

开发者:

```js
var pinyin = require("pinyinjs");
var pinyin = require("pinyin");

console.log(pinyin("中心")); // [ [ 'zhōng' ], [ 'xīn' ] ]
console.log(pinyin("中心", {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "pinyinjs",
"name": "pinyin",
"version": "2.2.0",
"description": "汉语拼音转换工具。",
"main": "src/pinyin.js",
Expand Down

0 comments on commit 4877228

Please sign in to comment.