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

center-align

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

center-align - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

package.json
{
"name": "center-align",
"description": "Right-align the text in a string.",
"version": "0.1.0",
"description": "Center-align the text in a string.",
"version": "0.1.1",
"homepage": "https://github.com/jonschlinkert/center-align",

@@ -6,0 +6,0 @@ "author": {

@@ -17,4 +17,31 @@ # center-align [![NPM version](https://badge.fury.io/js/center-align.svg)](http://badge.fury.io/js/center-align)

**Example**
If used on the following:
```
Lorem ipsum dolor sit amet,
consectetur adipiscing
elit, sed do eiusmod tempor incididunt
ut labore et dolore
magna aliqua. Ut enim ad minim
veniam, quis
```
The result would be:
```
Lorem ipsum dolor sit amet,
consectetur adipiscing
elit, sed do eiusmod tempor incididunt
ut labore et dolore
magna aliqua. Ut enim ad minim
veniam, quis
```
## Related projects
{%= related(['right-align', 'align-text', 'justify', 'word-wrap']) %}
* [right-align](https://github.com/jonschlinkert/right-align): Right-align the text in a string.
* [align-text](https://github.com/jonschlinkert/align-text): Align the text in a string.
* [justify](https://github.com/bahamas10/node-justify): Left or right (or both) justify text using a custom width and character
* [word-wrap](https://github.com/jonschlinkert/word-wrap): Wrap words to a specified length.

@@ -21,0 +48,0 @@ ## Running tests

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