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

jsonexport

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonexport - npm Package Compare versions

Comparing version 2.0.10 to 2.0.11

dist/core/escape-delimiters.js

1

CHANGELOG.md
## Change log
----------------------
- v2.0.11 - Tailored for browser by including distribution folder (ackerapple)
- v2.0.10 - enclose strings containing quotes with more quotes (dozen1488)

@@ -4,0 +5,0 @@ - v2.0.8 - cli improvements

13

package.json
{
"name": "jsonexport",
"version": "2.0.10",
"version": "2.0.11",
"description": "Makes easy to convert JSON to CSV",

@@ -8,4 +8,8 @@ "main": "./lib",

"test": "mocha tests/*.js tests/**/*.js",
"lint": "./node_modules/.bin/jshint ./lib/index.js"
"lint": "./node_modules/.bin/jshint ./lib/index.js",
"build:dist": "babel lib --out-dir dist --presets=es2015"
},
"pre-commit": [
"build:dist"
],
"bin": {

@@ -43,8 +47,11 @@ "jsonexport": "bin/jsonexport.js"

"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"benchmark": "^2.1.4",
"chai": "^4.0.1",
"jshint": "^2.9.4",
"mocha": "^3.1.0"
"mocha": "^3.1.0",
"pre-commit": "^1.2.2"
},
"runkitExampleFilename": "examples/simple.js"
}

@@ -17,3 +17,15 @@ # jsonexport

<details>
<summary><b>Table of Contents</b></summary>
- [Usage](#usage)
- [CLI](#cli)
- [Browser](#browser)
- [Stream](#stream)
- [JSON Array Example](#json-array-example)
- [Customization](#customization)
</details>
# Usage

@@ -42,2 +54,17 @@

## Browser
Use the code in the folder named **dist** to run jsonexport in the browser
### Browser Import Examples
Webpack
```javascript
var jsonexport = require("jsonexport/dist")
```
Typescript
```javascript
import * as jsonexport from "jsonexport/dist"
```
## Stream

@@ -135,7 +162,7 @@

```
lastname,name,family.type,family.name,nickname,location
Smith,Bob,Father,Peter,,
David,James,Mother,Julie,,
Miller,Robert,,,,1231,3214,4214
Martin,David,,,dmartin,
name,lastname,family.name,family.type,family,location,nickname
Bob,Smith,Peter,Father
James,David,Julie,Mother
Robert,Miller,,,,1231;3214;4214
David,Martin,,,,,dmartin
```

@@ -142,0 +169,0 @@

Sorry, the diff of this file is not supported yet

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