
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
convjp-browser
Advanced tools
ブラウザ(Web)向けの日本語用の文字化けエンコード・デコードライブラリ
デモ: https://otoneko1102.github.io/convjp-browser
[!NOTE] Node.js 環境の軽量版はこちら: convjp
URL:
https://unpkg.com/convjp-browser@latest/dist/main.umd.js
[!WARNING] UMD では default と named が併存するため、ブラウザからは
convjp.encodeのような named エクスポート を使うことを推奨します。
<script src="https://unpkg.com/convjp-browser@latest/dist/main.umd.js"></script>
<script>
const input = "もぺもぺ";
const encoded = convjp.encode(input);
const decoded = mojibake.decode(encoded);
console.log(encoded); // '繧ゅ⊆繧ゅ⊆'
console.log(decoded); // 'もぺもぺ'
</script>
バージョン指定の例: https://unpkg.com/convjp-browser@1.0.0/dist/main.umd.js
<script type="module">
import { encode, decode } from "/dist/main.es.js";
const input = "もぺもぺ";
const encoded = convjp.encode(input);
const decoded = mojibake.decode(encoded);
console.log(encoded); // '繧ゅ⊆繧ゅ⊆'
console.log(decoded); // 'もぺもぺ'
</script>
FAQs
ブラウザ(Web)向けの日本語用の文字化けエンコード・デコードライブラリ
The npm package convjp-browser receives a total of 8 weekly downloads. As such, convjp-browser popularity was classified as not popular.
We found that convjp-browser demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.