
Research
/Security News
GlassWASM: WebAssembly Malware Found in Trojanized Open VSX Extensions
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.
@types/hepburn
Advanced tools
TypeScript definitions for hepburn
npm install --save @types/hepburn
This package contains type definitions for hepburn (https://github.com/lovell/hepburn#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hepburn.
/**
* Converts a string containing Kana, either Hiragana or Katakana, to Romaji.
*/
export function fromKana(str: string): string;
/**
* Converts a string containing Romaji to Hiragana.
*/
export function toHiragana(str: string): string;
/**
* Converts a string containing Romaji to Katakana.
*/
export function toKatakana(str: string): string;
/**
* Cleans up a romaji string, changing old romaji forms into the more-modern Hepburn form (for further processing).
* Generally matches the style used by Wapro romaji.
* A larger guide to modern romaji conventions was used in building this method.
*/
export function cleanRomaji(str: string): string;
/**
* Splits a `str` containing Katakana or Hiragana into a syllables array.
*/
export function splitKana(str: string): string[];
/**
* Splits a `str` containing Romaji into a syllables array.
*/
export function splitRomaji(str: string): string[];
/**
* Returns true if `str` contains Hiragana.
*/
export function containsHiragana(str: string): boolean;
/**
* Returns true if `str` contains Katakana.
*/
export function containsKatakana(str: string): boolean;
/**
* Returns true if `str` contains any Kana.
*/
export function containsKana(str: string): boolean;
/**
* Returns true if `str` contains any Kanji.
*/
export function containsKanji(str: string): boolean;
These definitions were written by Piotr Błażejewicz.
FAQs
TypeScript definitions for hepburn
We found that @types/hepburn 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.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.