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

js-pinyin

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-pinyin - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

.babelrc

2

index.js

@@ -8,3 +8,3 @@ /**

let pinyin = new (require('./pinyin'))({charCase:0});
let pinyin = new (require('./dist/pinyin'))({charCase:0});
/*console.log(pinyin.getFullChars('管理员'))

@@ -11,0 +11,0 @@ console.log(pinyin.getCamelChars('管理员'))

{
"name": "js-pinyin",
"version": "0.2.1",
"version": "0.2.2",
"description": "汉字转换拼音,需要es6语法(let、class等)支持,不依赖其他组件",

@@ -8,3 +8,4 @@ "private": false,

"start": "node ./index",
"test": "node ./index"
"test": "node ./index",
"build": "babel pinyin.js -d dist"
},

@@ -20,3 +21,4 @@ "keywords": [

"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1"
},

@@ -28,2 +30,2 @@ "repository": {

"license": "MIT License"
}
}
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