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

pinyin-pro

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pinyin-pro - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9-alpha.0

9

lib/pinyin.js

@@ -198,1 +198,10 @@ import { DICT1 } from '../data/dict1';

};
/**
* @description: 得到拼音首字母
* @param {string} pinyin 拼音字符串
* @return {string}
*/
export const getFirstLetter = (pinyin) => {
return '';
};

7

package.json
{
"name": "pinyin-pro",
"version": "2.0.8",
"version": "2.0.9-alpha.0",
"description": "汉字转拼音库。获取汉字、词语、句子等内容的拼音、韵母、声母、声调等信息。",
"main": "./dist/index.js",
"typings": "./index.d.ts",
"files": [
"dist",
"lib",
"index.js"
],
"scripts": {

@@ -8,0 +13,0 @@ "test": "jest",

commitlint.config.js
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