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

react-sparklines

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-sparklines - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

demo/demo.js

5

package.json
{
"name": "react-sparklines",
"version": "0.4.1",
"version": "0.5.0",
"description": "Beautiful and expressive Sparklines React component",

@@ -27,3 +27,4 @@ "main": "index.js",

"node-libs-browser": "^0.5.2",
"webpack": "^1.10.0"
"webpack": "^1.10.0",
"webpack-dev-server": "^1.10.1"
},

@@ -30,0 +31,0 @@ "dependencies": {

# react-sparklines
Beautiful and expressive Sparklines React component
Use:
```
npm install react-sparklines --save
```
Then:
```
<Sparklines data={[5, 10, 5, 20]} />
```
To run demo:
```
npm install
npm install webpack -g
npm install webpack-dev-server -g
webpack-dev-server --progress
http://localhost:8080/index
```

2

webpack.config.js

@@ -6,3 +6,3 @@ var webpack = require('webpack'),

cache: true,
entry: './demo/index',
entry: './demo/demo',
output: {

@@ -9,0 +9,0 @@ path: './demo',

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