@types/ejson
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -7,4 +7,4 @@ // Type definitions for ejson v2.1.2 | ||
interface StringifyOptions { | ||
canonical: boolean; | ||
indent: boolean|number|string; | ||
canonical?: boolean; | ||
indent?: boolean|number|string; | ||
} | ||
@@ -11,0 +11,0 @@ |
{ | ||
"name": "@types/ejson", | ||
"version": "2.1.2", | ||
"description": "TypeScript definitions for ejson v2.1.2", | ||
"version": "2.1.3", | ||
"description": "TypeScript definitions for ejson", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ejson", | ||
"license": "MIT", | ||
"author": "Shantanu Bhadoria <https://github.com/shantanubhadoria>", | ||
"contributors": [ | ||
{ | ||
"name": "Shantanu Bhadoria", | ||
"url": "https://github.com/shantanubhadoria", | ||
"githubUsername": "shantanubhadoria" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/ejson" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "e6181fa7d5da1243f05aea9ac5cf7bf1e82b4ea2639ab5c4a3f8da8da56772cf" | ||
"typesPublisherContentHash": "13fca4bb761836ddfd0ecdb1761440e137334d901a38a88bc22e1e5c5af91f8a", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -5,15 +5,40 @@ # Installation | ||
# Summary | ||
This package contains type definitions for ejson v2.1.2 (https://www.npmjs.com/package/ejson). | ||
This package contains type definitions for ejson (https://www.npmjs.com/package/ejson). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/ejson | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ejson. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ejson/index.d.ts) | ||
````ts | ||
// Type definitions for ejson v2.1.2 | ||
// Project: https://www.npmjs.com/package/ejson | ||
// Definitions by: Shantanu Bhadoria <https://github.com/shantanubhadoria> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Sat, 05 Nov 2016 20:36:25 GMT | ||
* File structure: ProperModule | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
interface StringifyOptions { | ||
canonical?: boolean; | ||
indent?: boolean|number|string; | ||
} | ||
interface CloneOptions { | ||
keyOrderSensitive: boolean; | ||
} | ||
export function clone<T>(obj: T): T; | ||
export function parse(str: string): any; | ||
export function stringify(obj: any, options?: StringifyOptions): string; | ||
export function toJSONValue(obj: any): string; | ||
export function fromJSONValue(obj: string): any; | ||
export function isBinary(value: any): boolean; | ||
export function newBinary(len: number): Uint8Array; | ||
export function equals(a: any, b: any, options?: CloneOptions): boolean; | ||
```` | ||
### Additional Details | ||
* Last updated: Wed, 25 Aug 2021 15:31:21 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Shantanu Bhadoria <https://github.com/shantanubhadoria>. | ||
These definitions were written by [Shantanu Bhadoria](https://github.com/shantanubhadoria). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4147
0
44
19