# localisr

> Localisr exists to make a developer's life a bit easier when developing multi-language websites and apps.

Latest version **1.0.16** (published 2025-09-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install localisr
pnpm add localisr
yarn add localisr
bun add localisr
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.16 |
| Published | 2025-09-06 |
| First published | 2024-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | SiaNTech LTD |
| Maintainers | siantech |
| Keywords | multilanguage, translations, i18n, internationalization, localization, business localization tools, website localization services, app localization services |

## Links

- npm: https://www.npmjs.com/package/localisr
- Repository: https://github.com/siantechltd/localisr-npm
- Homepage: https://localisr.com
- Issues: https://localisr.dev/issues
- npm.io page: https://npm.io/package/localisr

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 1.0.16 (latest) — 2025-09-06
- 1.0.15 — 2024-11-16

## README

<h1 align="center">
   <b>
        <a href="https://localisr.com">
        <img src="https://localisr.com/images/localisr.png" height="50" alt="Localisr - Manage language translations at the click of a button" /></a><br />
    </b>
</h1>

<p align="center">Localisr exists to make a developer's life a bit easier when developing multi-language websites and apps.
</p>

<p align="center">
    <a href="https://localisr.com/"><b>Website</b></a> •
    <a href="https://web.localisr.com/register"><b>Create account</b></a>
</p>

[![npm version](https://img.shields.io/npm/v/localisr.svg?style=flat-square)](https://www.npmjs.org/package/localisr)
[![install size](https://packagephobia.now.sh/badge?p=localisr)](https://packagephobia.now.sh/result?p=localisr)
[![npm downloads](https://img.shields.io/npm/dm/localisr.svg?style=flat-square)](http://npm-stat.com/charts.html?package=localisr)

## Installing

Using npm:

```bash
$ npm install localisr
```

Using yarn:

```bash
$ yarn add localisr
```

Once the package is installed, you can import the library using `import` or `require` approach:

```js
import {LocalisrClient} from 'localisr'
```
or

```js
const {LocalisrClient} = require('localisr')
```

## Example

> This shows the method for getting translations of all the keys within a group.

```js
import {LocalisrClient} from 'localisr'

// initialize Localisr client
const localisr = new LocalisrClient(
    <LOCALISR_ACCESS_TOKEN>, 
    <LOCALISR_PROJECT_KEY>
);

// get translations for all the keys in 'user-login' group
const translations = await localisr
    .setLanguage(<language>)
    .groups()
    .getTranslations(<group-name>)
    .catch((error) => {
        console.log(error.response)
    });
```
> Get all added documents

```js
// initialize Localisr client
const localisr = new LocalisrClient(
    <LOCALISR_ACCESS_TOKEN>, 
    <LOCALISR_PROJECT_KEY>
);

// get translations for all the keys in 'user-login' group
const documents = await localisr
    .documents()
    .getAll()
    .catch((error) => {
        console.log(error.response)
    });
```

---
_Source: https://npm.io/package/localisr · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
