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

mattbeiswenger

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

mattbeiswenger - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

14

index.js

@@ -0,1 +1,3 @@

#!/usr/bin/env node
const links = [

@@ -5,1 +7,13 @@ { title: 'Twitter', url: 'beis.io/twitter' },

]
const longestTitleLength = links
.map((link) => link.title)
.reduce((longest, current) => {
return longest.length > current.length ? longest : current.length
}, 0)
links.forEach((link) => {
console.log(
`${link.title.padEnd(longestTitleLength, ' ')} -> https://${link.url}`
)
})

12

package.json
{
"name": "mattbeiswenger",
"version": "1.0.0",
"description": "",
"version": "1.0.1",
"description": "Contact information and social links",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"bin": {
"main": "index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mattbeiswenger/business-card.git"
},
"author": "Matt Beiswenger <mattbeis@yahoo.com>",

@@ -10,0 +14,0 @@ "license": "MIT",

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