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

jspdf

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jspdf - npm Package Compare versions

Comparing version 1.2.61 to 1.3.0

dist/jspdf.debug.js

22

package.json
{
"name": "jspdf",
"version": "1.2.61",
"version": "1.3.0",
"homepage": "https://github.com/mrrio/jspdf",
"description": "PDF Document creation from JavaScript",
"main": "dist/jspdf.min.js",
"main": "dist/jspdf.debug.js",
"files": [
"dist/jspdf.min.js",
"dist/jspdf.debug.js",
"README.md"

@@ -19,9 +19,19 @@ ],

},
"dependencies": {},
"dependencies": {
"adler32cs": "github:chick307/adler32cs.js",
"cf-blob.js": "0.0.1",
"filesaver.js": "github:andyinabox/FileSaver.js"
},
"devDependencies": {
"local-web-server": "^0.5.19"
"babel-preset-es2015-rollup": "^1.1.1",
"local-web-server": "^1.2.6",
"rollup": "^0.31.1",
"rollup-plugin-babel": "^2.4.0",
"uglify-js": "^2.6.2"
},
"scripts": {
"start": "ws"
"start": "ws",
"build": "npm install && bower install && node build.js",
"version": "npm run build && git add -A dist"
}
}

@@ -14,3 +14,2 @@ #jsPDF

```javascript
var doc = new jsPDF();

@@ -23,34 +22,11 @@ doc.text(20, 20, 'Hello world.');

## Checking out the source
## Contributing
Build the library with `npm run build`. This will fetch all dependencies and then compile the `dist` files. To see the examples locally you can start a web server with `npm start` and go to `localhost:8000`.
```bash
git clone --recursive git://github.com/MrRio/jsPDF.git
```
## Building
To build, simply run the 'make' command. This will fetch all npm and bower deps, then compile minified JS files.
## Running locally
Due to certain restrictions that local files have, you'll need to run a web server. Just run:
```
npm start
```
You can then access the site at localhost:8000
## Credits
- Big thanks to Daniel Dotsenko from [Willow Systems Corporation](http://willow-systems.com) for making huge contributions to the codebase.
- Thanks to Ajaxian.com for [featuring us back in 2009](http://ajaxian.com/archives/dynamically-generic-pdfs-with-javascript).
- Everyone else that's contributed patches or bug reports. You rock.
Big thanks to Daniel Dotsenko from [Willow Systems Corporation](http://willow-systems.com) for making huge contributions to the codebase.
Thanks to Ajaxian.com for [featuring us back in 2009](http://ajaxian.com/archives/dynamically-generic-pdfs-with-javascript).
Everyone else that's contributed patches or bug reports. You rock.
## License
(MIT License)
## License (MIT)
Copyright (c) 2010-2016 James Hall, https://github.com/MrRio/jsPDF

@@ -57,0 +33,0 @@

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