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

boxt

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boxt - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

examples.js
require('colors');
const boxed = require('./');
const log = (...args) => console.log(boxed(...args));
const log = (...args) => console.log(boxed(...args)); // eslint-disable-line no-console

@@ -6,0 +6,0 @@ log('');

@@ -81,7 +81,5 @@ const colors = require('colors');

throw new Error(`colors does not support color "${color}"`);
return;
}
if (!themes.hasOwnProperty(theme)) {
throw new Error(`themes do not include a "${theme}" theme`);
return;
}

@@ -128,4 +126,3 @@

default:
const linePad = Math.ceil(w - (w - length(line)) / 2);
return line.padEnd(linePad, ' ').padStart(w, ' ')
return line.padEnd(Math.ceil(w - (w - length(line)) / 2), ' ').padStart(w, ' ')
}

@@ -132,0 +129,0 @@ })();

{
"name": "boxt",
"version": "0.3.0",
"version": "0.3.1",
"description": "Create boxes around text",
"author": "omri",
"author": "omrilotan",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/omrilotan/boxt.git"
"url": "git+https://github.com/omrilotan/mono.git"
},
"homepage": "https://omrilotan.github.io/mono/boxt/",
"main": "index.js",
"scripts": {
"prepublishOnly": "npm t",
"start": "node examples",
"test": "mocha test.js lib/**/test.js"
"start": "node examples"
},
"license": "MIT",
"dependencies": {
"colors": "^1.1.2"
"colors": "^1.3.0"
},
"devDependencies": {
"chai": "^4.1.2",
"mocha": "^5.0.1"
},
"publishConfig": {

@@ -25,0 +20,0 @@ "tag": "latest"

@@ -1,2 +0,2 @@

# boxt
# boxt [![](https://img.shields.io/npm/v/boxt.svg)](https://www.npmjs.com/package/boxt) [![](https://img.shields.io/badge/mono--000000.svg?logo=github&style=social)](https://github.com/omrilotan/mono)

@@ -3,0 +3,0 @@ <p align="center"><img width="363" alt="boxt" src="https://user-images.githubusercontent.com/516342/34468260-c7ab5682-ef0d-11e7-8a84-c9baa16cabaa.png"></p>

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