New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

7-segment

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

7-segment - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

index.js
'use strict';
var wpi = require('wiring-pi');
/**

@@ -16,5 +14,3 @@ * Controls single digit 7-segment display

*/
var draw = function(configA, configB, configC, configD, configE, configF, configG, configDP) {
wpi.setup('wpi');
var draw = function(wpi, configA, configB, configC, configD, configE, configF, configG, configDP) {
var ledOn = 1;

@@ -21,0 +17,0 @@ var ledOff = 0;

2

package.json
{
"name": "7-segment",
"version": "0.0.3",
"version": "0.0.4",
"description": "Node JS helper to manage a single digit 7-segment display",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,3 +7,3 @@ 7-Segment Display

## Installation
`npm install 7-segment`
npm install 7-segment

@@ -25,4 +25,12 @@ ## Wiring

## Important Note
When using this library you must run Node JS as sudo.
`sudo nodejs index.js`
This is a requirement of the Wiring-Pi library.
## Contributing
Open for improvements, create a pull request on GitHub.
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