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

csv-generate

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-generate - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

lib/es5/sync.js

4

CHANGELOG.md
# Changelog
## Version 2.1.0
* sync: new module to ease synchronous usage
## Version 2.0.2

@@ -5,0 +9,0 @@

25

lib/es5/index.js

@@ -6,8 +6,8 @@ 'use strict';

// A Readable Stream for random CSV and data generator. Features include:
// A Readable Stream for random CSV and data generator. Features include:
// * Node.js Stream 2 implementation.
// * Idempotence with the "seed" option.
// * Framework to generate custom data.
// * Various option to personnalize the generation.
// * Node.js Stream 2 implementation.
// * Idempotence with the "seed" option.
// * Framework to generate custom data.
// * Various option to personnalize the generation.

@@ -25,11 +25,13 @@ // Please look at the [documentation], the [README], the [samples] and the

// ## Usage
// ## Usage
// Callback approach, for ease of use:
// Stream API, for maximum of power:
// `generate([options])`
// `generate([options])`
// Stream API, for maximum of power:
// Callback approach, for ease of use:
// `generate([options], callback)`
// `generate([options], callback)`
// ## Source Code
module.exports = function () {

@@ -80,5 +82,2 @@ var callback, data, generator, options;

this.options = options1;
// @options = {}
// for k, v of options
// @options[k] = v
stream.Readable.call(this, this.options);

@@ -85,0 +84,0 @@ if ((base = this.options).columns == null) {

// Generated by CoffeeScript 2.0.3
// # CSV Generator
// A Readable Stream for random CSV and data generator. Features include:
// A Readable Stream for random CSV and data generator. Features include:
// * Node.js Stream 2 implementation.
// * Idempotence with the "seed" option.
// * Framework to generate custom data.
// * Various option to personnalize the generation.
// * Node.js Stream 2 implementation.
// * Idempotence with the "seed" option.
// * Framework to generate custom data.
// * Various option to personnalize the generation.

@@ -20,11 +20,13 @@ // Please look at the [documentation], the [README], the [samples] and the

// ## Usage
// ## Usage
// Callback approach, for ease of use:
// Stream API, for maximum of power:
// `generate([options])`
// `generate([options])`
// Stream API, for maximum of power:
// Callback approach, for ease of use:
// `generate([options], callback)`
// `generate([options], callback)`
// ## Source Code
module.exports = function() {

@@ -73,5 +75,2 @@ var callback, data, generator, options;

this.options = options1;
// @options = {}
// for k, v of options
// @options[k] = v
stream.Readable.call(this, this.options);

@@ -78,0 +77,0 @@ if ((base = this.options).columns == null) {

{
"version": "2.0.2",
"version": "2.1.0",
"name": "csv-generate",

@@ -4,0 +4,0 @@ "description": "CSV and object generation implementing the Node.js `stream.Readable` API",

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