npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gen-i18n

v1.0.2

Published

## install

Downloads

1

Readme

gen-i18n

install

yarn add --dev gen-i18n

usage

// ./gen-i18n.config.json
// this lib use youdao's API, so you need to get the appkey and
// secret first at [youdao](http://ai.youdao.com/product-fanyi-text.s)
{
  "appkey": "YOUR-YOUDAO-APPKEY",
  "secret": "YOUR-YOUDAO-SECRET",
  "transform": {
    "jp": "ja"
  }
}
gen-i18n -m "./src/pages/**/*.{md,mdx}" -l "en, fr, ko" -c "./gen-i18n.config.json"

↓↓↓

support langs

|语言|代码| |:--:|:--:| |中文|zh-CHS| |英文|en| |日文|ja| |韩文|ko| |法文|fr| |西班牙文|es| |葡萄牙文|pt| |意大利文|it| |俄文|ru| |越南文|vi| |德文|de| |阿拉伯文|ar| |印尼文|id| |南非荷兰语|af| |波斯尼亚语|bs| |保加利亚语|bg| |粤语|yue| |加泰隆语|ca| |克罗地亚语|hr| |捷克语|cs| |丹麦语|da| |荷兰语|nl| |爱沙尼亚语|et| |斐济语|fj| |芬兰语|fi| |希腊语|el| |海地克里奥尔语|ht| |希伯来语|he| |印地语|hi| |白苗语|mww| |匈牙利语|hu| |斯瓦希里语|sw| |克林贡语|tlh| |拉脱维亚语|lv| |立陶宛语|lt| |马来语|ms| |马耳他语|mt| |挪威语|no| |波斯语|fa| |波兰语|pl| |克雷塔罗奥托米语|otq| |罗马尼亚语|ro| |塞尔维亚语|(西里尔文)sr-Cyrl| |塞尔维亚语|(拉丁文)sr-Latn| |斯洛伐克语|sk| |斯洛文尼亚语|sl| |瑞典语|sv| |塔希提语|ty| |泰语|th| |汤加语|to| |土耳其语|tr| |乌克兰语|uk| |乌尔都语|ur| |威尔士语|cy| |尤卡坦玛雅语|yua| |阿尔巴尼亚语|sq| |阿姆哈拉语|am| |亚美尼亚语|hy| |阿塞拜疆语|az| |孟加拉语|bn| |巴斯克语|eu| |白俄罗斯语|be| |宿务语|ceb| |科西嘉语|co| |世界语|eo| |菲律宾语|tl| |弗里西语|fy| |加利西亚语|gl| |格鲁吉亚语|ka| |古吉拉特语|gu| |豪萨语|ha| |夏威夷语|haw| |冰岛语|is| |伊博语|ig| |爱尔兰语|ga| |爪哇语|jw| |卡纳达语|kn| |哈萨克语|kk| |高棉语|km| |库尔德语|ku| |柯尔克孜语|ky| |老挝语|lo| |拉丁语|la| |卢森堡语|lb| |马其顿语|mk| |马尔加什语|mg| |马拉雅拉姆语|ml| |毛利语|mi| |马拉地语|mr| |蒙古语|mn| |缅甸语|my| |尼泊尔语|ne| |齐切瓦语|ny| |普什图语|ps| |旁遮普语|pa| |萨摩亚语|sm| |苏格兰盖尔语|gd| |塞索托语|st| |修纳语|sn| |信德语|sd| |僧伽罗语|si| |索马里语|so| |巽他语|su| |塔吉克语|tg| |泰米尔语|ta| |泰卢固语|te| |乌兹别克语|uz| |南非科萨语|xh| |意第绪语|yi| |约鲁巴语|yo| |南非祖鲁语|zu|