@plasma-platform/service-locales

1.1.0 • Public • Published

version nextVersion downloads license dependency


Full documentation
install:
npm i @plasma-platform/service-locales -S

Short documentation

Table of Contents

ServiceLocales

Locales API

getLocales

Get list of all TM locales

Examples

(async () => {
  const service = new Service(url);
  const request = await service.getLocales();
})();

Returns Promise<any>

getLocale

Get locale by ico2 code

Parameters

  • code string Locale ico2 code

Examples

(async () => {
  const service = new Service(url);
  const request = await service.getLocale(code);
})();

Returns Promise<any>

Package Sidebar

Install

npm i @plasma-platform/service-locales

Weekly Downloads

26

Version

1.1.0

License

CC-BY-4.0

Unpacked Size

15.5 kB

Total Files

6

Last publish

Collaborators

  • alienmonster
  • ch-tm
  • viram