Socket
Socket
Sign inDemoInstall

js-pinyin

Package Overview
Dependencies
Maintainers
0
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.5 to 0.2.6

4

index.d.ts

@@ -24,3 +24,3 @@ /**

*/
class Pinyin {
declare class Pinyin {
constructor(options?: PinyinOptions)

@@ -47,3 +47,3 @@

const pinyin: Pinyin
declare const pinyin: Pinyin
export default pinyin

@@ -9,3 +9,3 @@ /**

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

@@ -17,3 +17,5 @@ console.log(pinyin.getCamelChars('管理员'))

console.log(pinyin.getCamelChars('佛'))
console.log(pinyin.getFullChars('佛'))*/
console.log(pinyin.getFullChars('佛'))
console.log(pinyin.getFullChars('凃一二'))
console.log(pinyin.getCamelChars('凃一二'))
module.exports = pinyin;
{
"name": "js-pinyin",
"version": "0.2.5",
"version": "0.2.6",
"description": "汉字转换拼音,需要es6语法(let、class等)支持,不依赖其他组件",

@@ -28,5 +28,5 @@ "private": false,

"publishConfig": {
"registry": "https://registry.npmjs.org "
"registry": "https://registry.npmjs.org"
},
"license": "MIT License"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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