Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
한글 글자의 받침을 확인합니다.
$ npm install --save jongseong
const { code, hasJongseong } = require('jongseong')
마지막 글자의 받침 코드(0...27)를 반환합니다.
Required
Type: string
code('가나다') // => 0
code('가나닥') // => 1
code('가나닶') // => 18
code('가나닿') // => 27
code('112') // => 0 (백십이)
code('113') // => 16 (백십삼)
code('100') // => 1 (백)
마지막 글자에 받침이 있는지 여부를 반환합니다.
Required
Type: string
hasJongseong('커피') // => false
hasJongseong('코딩') // => true
hasJongseong('105') // => false (백오)
hasJongseong('100') // => true (백)
받침 코드는 0부터 27까지의 정수입니다.
코드 | 받침 | 예시 |
---|---|---|
0 | - | 가 |
1 | ㄱ | 각 |
2 | ㄱㄱ | 갂 |
3 | ㄱㅅ | 갃 |
4 | ㄴ | 간 |
5 | ㄴㅈ | 갅 |
6 | ㄴㅎ | 갆 |
7 | ㄷ | 갇 |
8 | ㄹ | 갈 |
9 | ㄹㄱ | 갉 |
10 | ㄹㅁ | 갊 |
11 | ㄹㅂ | 갋 |
12 | ㄹㅅ | 갌 |
13 | ㄹㅌ | 갍 |
14 | ㄹㅍ | 갎 |
15 | ㄹㅎ | 갏 |
16 | ㅁ | 감 |
17 | ㅂ | 갑 |
18 | ㅂㅅ | 값 |
19 | ㅅ | 갓 |
20 | ㅅㅅ | 갔 |
21 | ㅇ | 강 |
22 | ㅈ | 갖 |
23 | ㅊ | 갗 |
24 | ㅋ | 갘 |
25 | ㅌ | 같 |
26 | ㅍ | 갚 |
27 | ㅎ | 갛 |
MIT © Kim Donghee
FAQs
Hangul jongseong checker
The npm package jongseong receives a total of 6,904 weekly downloads. As such, jongseong popularity was classified as popular.
We found that jongseong 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.