Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ici4j-japan

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ici4j-japan

The ici4j-japan library exported as Node.js modules.

  • 1.0.15
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
48
decreased by-90.4%
Maintainers
0
Weekly downloads
 
Created
Source

ici4j-japan

The ici4j-japan library exported as Node.js modules.

The ici4j-japan library is com.ibm.icu library running in java which is called and used on javascript

Installation

Using npm:

$ npm i ici4j-japan

$ npm i --save ici4j-japan

Environment settings dependencies

1. npm install -g node-gyp

2. Install java SDK (version >= 22)

Link download SDK java (click)

Example in Debian operating system (version 23):

$ apt-get update

$ wget https://download.oracle.com/java/23/latest/jdk-23_linux-x64_bin.deb

$ dpkg -i jdk-23_linux-x64_bin.deb

3. Install python (version current 3.12)

Link download python (click)

Using ici4j-japan in projects:

js

const ici4jJapan = require("ici4j-japan");
const input = "こんにちは";
ici4jJapan.convertToNFC(input).then((result) => {
  console.log(result); // result: コンニチハ
});

Or

const { convertToNFC } = require("ici4j-japan");
const input = "こんにちは";
convertToNFC(input).then((result) => {
  console.log(result); // result: コンニチハ
});

ts

import * as ici4jJapan from "ici4j-japan";
const input = "こんにちは";
ici4jJapan.convertToNFC(input).then((result) => {
  console.log(result); // result: コンニチハ
});

Or

import { convertToNFC } from "ici4j-japan";
const input = "こんにちは";
convertToNFC(input).then((result) => {
  console.log(result); // result: コンニチハ
});

Keywords

FAQs

Package last updated on 12 Nov 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc