Socket
Socket
Sign inDemoInstall

char-width-table-consumer

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

src/consumer.js

8

CHANGELOG.md
# Changelog
## 0.2.0
## 0.2.1 – Nov 15, 2018
No external changes.
## 0.2.0 – Nov 13, 2018
- Add `loadConsumerSync()` function.
## 0.1.0
## 0.1.0 – Nov 13, 2018
Initial release.
{
"name": "char-width-table-consumer",
"version": "0.2.0",
"repository": "metabolize/char-width-table-consumer",
"version": "0.2.1",
"repository": "metabolize/anafanafo",
"description": "Measure text using a character width table",
"main": "src",
"scripts": {
"jest": "jest",
"lint": "eslint '**/*.js'",
"prettier": "prettier --write \"**/*.js\"",
"prettier-check": "prettier-check \"**/*.js\"",
"test": "run-p jest lint prettier-check"
"test": "jest"
},

@@ -18,18 +15,3 @@ "author": "Metabolize",

},
"devDependencies": {
"@coderbyheart/jest-expect-tobewithin": "^1.0.2",
"eslint": "^5.9.0",
"eslint-config-prettier": "^3.3.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"gh-badges": "2.0.0",
"jest": "^23.6.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.15.2",
"prettier-check": "^2.0.0"
}
"gitHead": "4bd230d372ffe93cd9bf7f036b83be6ef5dab75e"
}

@@ -5,8 +5,10 @@ # char-width-table-consumer

[![license](https://img.shields.io/npm/l/char-width-table-consumer.svg?style=flat-square)][npm]
[![build](https://img.shields.io/circleci/project/github/metabolize/char-width-table-consumer.svg?style=flat-square)][build]
[![build](https://img.shields.io/circleci/project/github/metabolize/anafanafo.svg?style=flat-square)][build]
[![code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)][prettier]
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square)][lerna]
[npm]: https://npmjs.com/char-width-table-consumer
[build]: https://circleci.com/gh/metabolize/char-width-table-consumer/tree/master
[build]: https://circleci.com/gh/metabolize/anafanafo/tree/master
[prettier]: https://prettier.io/
[lerna]: https://lernajs.io/

@@ -20,3 +22,3 @@ Measure text using a character width table.

This library allows efficient text measuring using a character width table.
Create the tables using companion tool [char-width-table-builder][].
Create the tables using companion package [char-width-table-builder][].

@@ -27,3 +29,3 @@ This performs a simple lookup, without considering kerning.

[char-width-table-builder]: https://github.com/metabolize/char-width-table-builder/
[char-width-table-builder]: ../char-width-table-builder
[shields]: https://github.com/badges/shields/

@@ -30,0 +32,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc