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

decode-zhuyin

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decode-zhuyin

Zhuyin is a bunch of symbol for transliterating Chinese word, most of Taiwanese people choose one sentence or few words, and map the Zhuyin position of keyboard to get meaning less characters as their password which is hard to remember, so that's what dec

  • 1.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-67.65%
Maintainers
1
Weekly downloads
 
Created
Source

Decode Zhuyin

Zhuyin is a bunch of symbol for transliterating Chinese word, most of Taiwanese people choose one sentence or few words, and map the Zhuyin position of keyboard to get meaning less characters as their password which is hard to remember, so that's what decode-zhuyin does.

Features

  • Output full text.
  • Output without space.
  • Output without special character.
  • Support npx

Usage

node.js require

// output full text
require('decode-zhuyin')('安安你好正') // '0 0 su3cl35/4'

// output without space
require('decode-zhuyin/no-sp')('安安你好正') // '00su3cl35/4'

// output without special character
require('decode-zhuyin/no-ch')('安安你好正') // '00su3cl354'

npx (built-in after npm 5.2.0)

$ npx decode-zhuyin 安安你好正
00su3cl354

Keywords

FAQs

Package last updated on 15 Jan 2018

Did you know?

Socket

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.

Install

Related posts

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