Socket
Socket
Sign inDemoInstall

@types/ndjson

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/ndjson - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

ndjson/index.d.ts

@@ -12,3 +12,3 @@ // Type definitions for ndjson 2.0

export interface ParseOptions {
strict?: boolean;
strict?: boolean | undefined;
}

@@ -15,0 +15,0 @@

{
"name": "@types/ndjson",
"version": "2.0.0",
"version": "2.0.1",
"description": "TypeScript definitions for ndjson",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ndjson",
"license": "MIT",

@@ -25,4 +26,4 @@ "contributors": [

},
"typesPublisherContentHash": "f922bc5df51b02546d738b4baea13fae1ae10ed74dc0ebb4711fe14b39f7963f",
"typeScriptVersion": "3.1"
"typesPublisherContentHash": "f8f4e8ba5ca9bfeff47175676c743b517545c91b8ade45013ed56b252e02a0b1",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,26 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ndjson.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ndjson/index.d.ts)
````ts
// Type definitions for ndjson 2.0
// Project: https://github.com/maxogden/ndjson
// Definitions by: Junxiao Shi <https://github.com/yoursunny>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { ThroughStream } from "through";
import { DuplexOptions, Transform } from "stream";
export interface ParseOptions {
strict?: boolean | undefined;
}
export function parse(opts?: ParseOptions): ThroughStream;
export function stringify(opts?: DuplexOptions): Transform;
````
### Additional Details
* Last updated: Mon, 24 Aug 2020 13:51:07 GMT
* Last updated: Thu, 08 Jul 2021 18:51:11 GMT
* Dependencies: [@types/through](https://npmjs.com/package/@types/through), [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +35,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc