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

inno-trans-korean-josa-plugin

v0.1.2

Published

[inno-trans](https://github.com/skt-t1-byungi/inno-trans) plugin for korean josa

Downloads

2

Readme

inno-trans-korean-josa-plugin

inno-trans plugin for korean josa

Install

yarn add inno-trans inno-trans-korean-josa-plugin
// es6
import trans from "inno-trans";
import plugin from "inno-trans-korean-josa-plugin";

// commonjs
const trans = require('inno-trans');
const plugin = require('inno-trans-korean-josa-plugin');

browser

<script src="https://unpkg.com/inno-trans"></script>
<script src="inno-trans-korean-josa-plugin"></script>
<script>
 var trans = InnoTrans;
 var plugin = InnoTransKoreanJosaPlugin;
</script>

Example

은/는

const lang = trans({
  locale: 'ko',
  plugin: [plugin]
  message: {
    ko: { 
      'good': '{name|은} 좋다' ,
      'bad': '{name|는} 별로다' 
    }
  }
})

> lang.trans('good', {name:'롤'})
> lang.trans('good', {name:'히오스'})
> lang.trans('bad', {name:'롤'})
> lang.trans('bad', {name:'히오스'})

output

롤은 좋다
히오스는 좋다
롤은 별로다
히오스는 별로다

이/가

...
'clean': '{name|이} 깨끗하다' ,
'dirty': '{name|가} 더럽다' 
...

> lang.trans('clean', {name:'집'})
> lang.trans('clean', {name:'학교'})
> lang.trans('dirty', {name:'집'})
> lang.trans('dirty', {name:'학교'})

output

집이 깨끗하다
학교가 깨끗하다
집이 더럽다
학교가 더럽다

야/아

...
'hello': '안녕, {name|야}' ,
'bye': '잘가, {name|아}' 
...

> lang.trans('hello', {name:'현수'})
> lang.trans('hello', {name:'호민'})
> lang.trans('bye', {name:'현수'})
> lang.trans('bye', {name:'호민'})

output

안녕, 현수야
안녕, 호민아
잘가, 현수야
잘가, 호민아

이?

...
'question': '{name|이?}란 무엇일까?' ,
...

> lang.trans('question', {name:'꿈'})
> lang.trans('question', {name:'목표'})

output

꿈이란 무엇일까?
목표란 무엇일까?

ETC

  • 을/를
  • 과/와
  • 이었/였
  • 이어/여
  • 이에요/예요
  • 으로/로

License

MIT