![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
pinyin-initial
Advanced tools
一个简单快速获取汉字拼音首字母的库,不能保证所有汉字全覆盖,不支持多音字。主打一个快、内存占用小! 基本原理就是将所有常用汉字的拼音首字母按照 charCode 枚举到添加一个字符串中,传入的汉字根据 charCode 从字符串中反查出对应的拼音首字母。
npm install pinyin-initial
yarn add pinyin-initial
pnpm add pinyin-initial
import { getPinyinInitial } from 'pinyin-initial';
console.log(getPinyinInitial('一')); // Y
FAQs
Proxy for JavaScript errors, a better way to handle errors.
The npm package pinyin-initial receives a total of 2 weekly downloads. As such, pinyin-initial popularity was classified as not popular.
We found that pinyin-initial demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.