
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@types/stringify-object
Advanced tools
TypeScript definitions for stringify-object
npm install --save @types/stringify-object
This package contains type definitions for stringify-object (https://github.com/yeoman/stringify-object).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stringify-object.
/**
* Stringify an object/array like JSON.stringify just without all the double-quotes
*/
export default function stringifyObject(input: any, options?: Options, pad?: string): string;
export interface Options {
/**
* Preferred indentation
* @default '\t'
*/
indent?: string | undefined;
/**
* Set to false to get double-quoted strings
* @default true
*/
singleQuotes?: boolean | undefined;
/**
* Expected to return a boolean of whether to include the property property of the object object in the output.
*/
filter?(input: any, prop: string | symbol): boolean;
/**
* When set, will inline values up to inlineCharacterLimit length for the sake of more terse output.
*/
inlineCharacterLimit?: number | undefined;
/**
* Expected to return a string that transforms the string that resulted from stringifying object[property].
* This can be used to detect special types of objects that need to be stringified in a particular way.
* The transform function might return an alternate string in this case, otherwise returning the originalResult.
*/
transform?: ((input: any[] | object, prop: number | string | symbol, originalResult: string) => string) | undefined;
}
These definitions were written by Piotr Błażejewicz.
FAQs
TypeScript definitions for stringify-object
The npm package @types/stringify-object receives a total of 41,227 weekly downloads. As such, @types/stringify-object popularity was classified as popular.
We found that @types/stringify-object demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.