Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/csv-stringify

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/csv-stringify - npm Package Compare versions

Comparing version 0.0.32 to 1.0.0

24

csv-stringify/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for csv-stringify 0.0.6
// Type definitions for csv-stringify 1.0
// Project: https://github.com/wdavidw/node-csv-stringify

@@ -8,4 +8,2 @@ // Definitions by: Rogier Schouten <https://github.com/rogierschouten>

declare namespace stringify {

@@ -61,10 +59,8 @@ interface StringifyOpts {

interface Stringifier extends NodeJS.ReadWriteStream {
// Stringifier stream takes array of strings or Object
write(line: string[] | any): boolean;
// Stringifier stream takes array of strings or Object
write(line: string[] | Object): boolean;
// repeat declarations from NodeJS.WritableStream to avoid compile error
write(buffer: Buffer, cb?: Function): boolean;
write(str: string, cb?: Function): boolean;
write(str: string, encoding?: string, cb?: Function): boolean;
write(buffer: string | Buffer, cb?: () => void): boolean;
write(str: string, encoding?: string, cb?: () => void): boolean;
}

@@ -74,12 +70,12 @@ }

/**
* Callback version: string in --> callback with string out
* Streaming stringifier
*/
declare function stringify(input: any[][], opts: stringify.StringifyOpts, callback: (error: Error, output: string) => void): void;
declare function stringify(input: any[][], callback: (error: Error, output: string) => void): void;
declare function stringify(opts?: stringify.StringifyOpts): stringify.Stringifier;
/**
* Streaming stringifier
* Callback version: string in --> callback with string out
*/
declare function stringify(opts: stringify.StringifyOpts): stringify.Stringifier;
declare function stringify(input: any[][], opts: stringify.StringifyOpts, callback: (error: Error | undefined, output: string) => void): void;
declare function stringify(input: any[][], callback: (error: Error | undefined, output: string) => void): void;
export = stringify;
{
"name": "@types/csv-stringify",
"version": "0.0.32",
"description": "TypeScript definitions for csv-stringify 0.0.6",
"version": "1.0.0",
"description": "TypeScript definitions for csv-stringify",
"license": "MIT",

@@ -16,4 +16,5 @@ "author": "Rogier Schouten <https://github.com/rogierschouten>",

},
"typings": "index.d.ts",
"typesPublisherContentHash": "1da112323e4442eae7bc6e34d8113e01720febf5bcb8edd561883d142590e119"
"peerDependencies": {},
"typesPublisherContentHash": "ffa942080c7312de51837da2c122dde4664e8158fe88a9ed02ffefbe7d406aa5",
"typeScriptVersion": "2.0"
}

@@ -5,15 +5,14 @@ # Installation

# Summary
This package contains type definitions for csv-stringify 0.0.6 (https://github.com/wdavidw/node-csv-stringify).
This package contains type definitions for csv-stringify (https://github.com/wdavidw/node-csv-stringify).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/csv-stringify
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/csv-stringify
Additional Details
* Last updated: Mon, 19 Sep 2016 16:15:24 GMT
* File structure: ProperModule
* Last updated: Thu, 29 Dec 2016 23:09:04 GMT
* Library Dependencies: node
* Module Dependencies: none
* Global values: stringify
* Global values: none
# Credits
These definitions were written by Rogier Schouten <https://github.com/rogierschouten>.
{
"authors": "Rogier Schouten <https://github.com/rogierschouten>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [

@@ -8,13 +7,11 @@ "node"

"moduleDependencies": [],
"libraryMajorVersion": "0",
"libraryMinorVersion": "0",
"libraryName": "csv-stringify 0.0.6",
"libraryMajorVersion": 1,
"libraryMinorVersion": 0,
"typeScriptVersion": "2.0",
"libraryName": "csv-stringify",
"typingsPackageName": "csv-stringify",
"projectName": "https://github.com/wdavidw/node-csv-stringify",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "types-2.0",
"kind": "ProperModule",
"globals": [
"stringify"
],
"sourceBranch": "master",
"globals": [],
"declaredModules": [

@@ -27,3 +24,3 @@ "csv-stringify"

"hasPackageJson": false,
"contentHash": "1da112323e4442eae7bc6e34d8113e01720febf5bcb8edd561883d142590e119"
"contentHash": "ffa942080c7312de51837da2c122dde4664e8158fe88a9ed02ffefbe7d406aa5"
}
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