Skip to content

Data for contributed NSIS language files in JSON format

Notifications You must be signed in to change notification settings

NSIS-Dev/language-data

Repository files navigation

@nsis/language-data

npm npm CI

Description

Data for contributed NSIS language files in JSON format

Current version: NSIS v3.10

Installation

Use your preferred package manager to install this generator

yarn add @nsis/language-data || npm i @nsis/language-data

Usage

Use ESM imports or require() to include the module:

// ES Module
import { languages } from '@nsis/language-data';

// CommonJS
const { languages } = require('@nsis/language-data');

Several exports are available: default, meta, languages and individual languages (names are matching the original .nlf files):

// Import default
import languageData from '@nsis/language-data';

// Import by type
import { meta, languages } from '@nsis/language-data';

// Import by language
import { English, PortugueseBR, SimpChinese } from '@nsis/language-data';

Related

  • nlf - Parser and stringifier for NSIS Language Files

License

This work is licensed under the zlib/libpng License