7.20.3 • Published 7 months ago
@types/cson v7.20.3
Installation
npm install --save @types/cson
Summary
This package contains type definitions for cson (https://github.com/bevry/cson).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cson.
index.d.ts
// Type definitions for cson 7.20
// Project: https://github.com/bevry/cson
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare class CSON {
// Create Strings
stringify(data: any, opts?: object, indent?: any): string;
createCSONString(data: any, opts?: object, next?: any): string;
createJSONString(data: any, opts?: object, next?: any): string;
createString(data: any, opts?: object, next?: any): string;
// Parse Strings
parse(data: string, opts?: object, next?: any): any;
parseCSONString(data: string, opts?: object, next?: any): any;
parseJSONString(data: string, opts?: object, next?: any): any;
parseCSString(data: string, opts?: object, next?: any): any;
parseJSString(data: string, opts?: object, next?: any): any;
parseString(data: string, opts?: object, next?: any): any;
// Parse Files
load(filePath: string, opts?: object, next?: any): any;
parseCSONFile(filePath: string, opts?: object, next?: any): any;
parseJSONFile(filePath: string, opts?: object, next?: any): any;
parseCSFile(filePath: string, opts?: object, next?: any): any;
parseJSFile(filePath: string, opts?: object, next?: any): any;
// Require Files
requireCSFile(filePath: string, opts?: object, next?: any): any;
requireJSFile(filePath: string, opts?: object, next?: any): any;
requireFile(filePath: string, opts?: object, next?: any): any;
}
declare const _default: CSON;
export = _default;
Additional Details
- Last updated: Tue, 02 Nov 2021 16:01:27 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Sam Saint-Pettersen.
7.20.2
7 months ago
7.20.3
7 months ago
7.20.1
3 years ago
7.20.0
3 years ago
0.0.31
7 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.28-alpha
8 years ago
0.0.27-alpha
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.17-alpha
8 years ago
0.0.16-alpha
8 years ago