New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

speech-code

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speech-code - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

17

index.d.ts

@@ -13,14 +13,17 @@ /*

* consisting of random number of sentences (from 2 to 5)
* @param paragraphs - the number of paragraphs in the text. Default is 3.
* @param paragraphs The number of paragraphs in the text. Default is 3.
* @param language The language to generate a text in
*/
export function getText(paragraphs?: number, language: Lang = 'ru'): string;
export function getText(paragraphs?: number, language?: Lang): string;
/**
* Returns a paragraph consisting of given number of sentences
* @param sentences - the number of sentences. Default is 3.
* @param sentences The number of sentences. Default is 3.
* @param language The language to generate a text in
*/
export function getParagraph(sentences?: number, language: Lang = 'ru'): string;
export function getParagraph(sentences?: number, language?: Lang): string;
/**
* Returns a single generated sentence
* @param language The language to generate a text in
*/
export function getSentence(language: Lang = 'ru'): string;
export function getSentence(language?: Lang): string;
/**

@@ -30,4 +33,4 @@ * Returns a paragraph with specified number of characters.

* *WARNING: The length of the resulting text will never be equal to specified value. It might be either shorter or longer.*
* @param chars - the number of characters (spaces included). Default is 50.
* @param chars The number of characters (spaces included). Default is 50.
*/
export function getCharacters(chars?: number, language: Lang = 'ru'): string;
export function getCharacters(chars?: number, language?: Lang): string;

@@ -19,3 +19,3 @@ {

},
"version": "1.4.0",
"version": "1.4.1",
"main": "index.js",

@@ -22,0 +22,0 @@ "license": "MIT",

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