@types/escape-quotes
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Installation

npm install --save @types/escape-quotes

Summary

This package contains type definitions for escape-quotes (https://www.npmjs.com/package/escape-quotes).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/escape-quotes.

/**
 * Escape `'` with `\\`
 * @param input the input string
 */
declare function escapeQuote(input: string): string;

/**
 * Escape the given character with the given escape character
 * @param input the input string
 * @param character the character to escape (e.g. `'`)
 * @param escape_character the character to escape with (e.g. `\\`)
 */
declare function escapeQuote(input: string, character: string, escape_character: string): string;

export = escapeQuote;

Additional Details

  • Last updated: Mon, 26 Aug 2024 05:07:41 GMT
  • Dependencies: none

Credits

These definitions were written by Amin Yahyaabadi.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/escape-quotes

Weekly Downloads

47

Version

1.0.0

License

MIT

Unpacked Size

3.5 kB

Total Files

5

Last publish

Collaborators

  • types