معرفی شرکت ها


@types/serialize-javascript-5.0.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

TypeScript definitions for serialize-javascript
ویژگی مقدار
سیستم عامل -
نام فایل @types/serialize-javascript-5.0.2
نام @types/serialize-javascript
نسخه کتابخانه 5.0.2
نگهدارنده ['types']
ایمیل نگهدارنده ['ts-npm-types@microsoft.com']
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/DefinitelyTyped/DefinitelyTyped.git
آدرس اینترنتی https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serialize-javascript
مجوز MIT
# Installation > `npm install --save @types/serialize-javascript` # Summary This package contains type definitions for serialize-javascript (https://github.com/yahoo/serialize-javascript). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serialize-javascript. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serialize-javascript/index.d.ts) ````ts // Type definitions for serialize-javascript 5.0 // Project: https://github.com/yahoo/serialize-javascript // Definitions by: Pochodaydayup <https://github.com/Pochodaydayup> // undefined-moe <https://github.com/undefined-moe> // Piotr Błażejewicz <https://github.com/peterblazejewicz> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace serializeJavascript { interface SerializeJSOptions { /** * This option is the same as the space argument that can be passed to JSON.stringify. * It can be used to add whitespace and indentation to the serialized output to make it more readable. */ space?: string | number | undefined; /** * This option is a signal to serialize() that the object being serialized does not contain any function or regexps values. * This enables a hot-path that allows serialization to be over 3x faster. * If you're serializing a lot of data, and know its pure JSON, then you can enable this option for a speed-up. */ isJSON?: boolean | undefined; /** * This option is to signal serialize() that we want to do a straight conversion, without the XSS protection. * This options needs to be explicitly set to true. HTML characters and JavaScript line terminators will not be escaped. * You will have to roll your own. */ unsafe?: true | undefined; /** * This option is to signal serialize() that we do not want serialize JavaScript function. * Just treat function like JSON.stringify do, but other features will work as expected. */ ignoreFunction?: boolean | undefined; } } /** * Serialize JavaScript to a superset of JSON that includes regular expressions and functions. * @param input data to serialize * @param options optional object * @returns serialized data */ declare function serializeJavascript( input: any, options?: serializeJavascript.SerializeJSOptions | number | string, ): string; export = serializeJavascript; ```` ### Additional Details * Last updated: Thu, 23 Dec 2021 23:35:48 GMT * Dependencies: none * Global values: none # Credits These definitions were written by [Pochodaydayup](https://github.com/Pochodaydayup), [undefined-moe](https://github.com/undefined-moe), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).


نحوه نصب


نصب پکیج tgz @types/serialize-javascript-5.0.2:

    npm install @types/serialize-javascript-5.0.2.tgz