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

linguister

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linguister - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

7

lib/index.d.ts
import { TranslateAPI, LangFrom } from './components/translate';
declare const Default: TranslateAPI;
declare const DefaultAPI: TranslateAPI;
declare const translate: any;
declare const Linguister: typeof Default.translate & {
export { TranslateAPI, translate, LangFrom };
declare const Linguister: typeof DefaultAPI.translate & {
LangFrom: typeof LangFrom;
TranslateAPI: typeof TranslateAPI;
translate: typeof translate;
};
export { translate, TranslateAPI, LangFrom };
export default Linguister;

@@ -6,4 +6,4 @@ "use strict";

exports.LangFrom = translate_1.LangFrom;
const Default = new translate_1.TranslateAPI();
const translate = Default.translate.bind(Default);
const DefaultAPI = new translate_1.TranslateAPI();
const translate = DefaultAPI.translate.bind(DefaultAPI);
exports.translate = translate;

@@ -13,2 +13,5 @@ const Linguister = translate;

Linguister.TranslateAPI = translate_1.TranslateAPI;
Linguister.translate = translate;
exports.default = Linguister;
Linguister['default'] = Linguister;
module.exports = Linguister;
{
"name": "linguister",
"description": "Translate any text using the google translate api",
"version": "0.3.2",
"version": "0.4.0",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "scripts": {

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