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

@markuplint/i18n

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/i18n - npm Package Compare versions

Comparing version 1.2.0-alpha.33 to 1.2.0

16

lib/index.d.ts
export declare type Primitive = string | number | boolean;
export declare type Translator = (messageTmpl: string, ...keywords: Primitive[]) => string;
export interface LocaleSet {
keywords: LocalesKeywords;
[messageId: string]: string | void | LocalesKeywords;
keywords: LocalesKeywords;
[messageId: string]: string | void | LocalesKeywords;
}
export interface LocalesKeywords {
[messageId: string]: string | void;
[messageId: string]: string | void;
}
export declare class I18n {
private static _singleton;
static create(localeSet: LocaleSet | null): I18n;
localeSet: LocaleSet | null;
private constructor();
translator(): Translator;
private static _singleton;
static create(localeSet: LocaleSet | null): I18n;
localeSet: LocaleSet | null;
private constructor();
translator(): Translator;
}
{
"name": "@markuplint/i18n",
"version": "1.2.0-alpha.33+c47a79f",
"version": "1.2.0",
"description": "HTML parser for markuplint",

@@ -18,3 +18,3 @@ "repository": "git@github.com:markuplint/markuplint.git",

},
"gitHead": "c47a79f9a03f3e135d97a0fb13c87805be0738d6"
"gitHead": "94955520e9fad6a45e8831c47f6b8b342b77efdc"
}
# @markuplint/i18n
[![npm version](https://badge.fury.io/js/%40markuplint%2Fi18n.svg)](https://www.npmjs.com/package/@markuplint/i18n)
[![Build Status](https://travis-ci.org/markuplint/markuplint.svg?branch=master)](https://travis-ci.org/markuplint/markuplint)
[![Coverage Status](https://coveralls.io/repos/github/markuplint/markuplint/badge.svg?branch=master)](https://coveralls.io/github/markuplint/markuplint?branch=master)
[![Build Status](https://travis-ci.org/markuplint/markuplint.svg?branch=main)](https://travis-ci.org/markuplint/markuplint)
[![Coverage Status](https://coveralls.io/repos/github/markuplint/markuplint/badge.svg?branch=main)](https://coveralls.io/github/markuplint/markuplint?branch=main)

@@ -20,3 +20,3 @@ ## Install

```
$ git clone git@github.com:markuplint/markuplint.git -b master
$ git clone git@github.com:markuplint/markuplint.git -b main
$ yarn

@@ -29,2 +29,2 @@ $ yarn build

Copyright © 2020 markuplint. Under the MIT License.
Copyright © 2021 markuplint. Under the MIT License.

Sorry, the diff of this file is not supported yet

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