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

big-text.js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

big-text.js - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

4

package.json
{
"name": "big-text.js",
"version": "0.1.0",
"description": "A JavaScript lib that makes text as big as possible while still fitting on the parent element. Based on DanielHoffmann/jquery-bigtext.",
"version": "1.0.0",
"description": "A JavaScript lib that makes text as big as possible while still fitting on the parent element.",
"main": "big-text.js",

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

@@ -1,34 +0,14 @@

big-text.js
==============
# big-text.js
A JavaScript lib that makes text as big as possible while still fitting on the parent element. Based on DanielHoffmann/jquery-bigtext.
Browser Compatibility
==============
- Internet Explorer 9 or higher (might work on older versions)
- Opera
- Firefox
- Google Chrome
- Safari
## Installation
Examples
==============
npm install --save big-text.js
```html
<div style="width: 300px, height: 200px">
<span id="span">BigText</span>
</div>
```
## Usage
```javascript
BigText("#span");
```
import BigText from 'big-text.js';
With one simple line the text "BigText" will now have its font-size increased but without overflowing the element parent div.
See more examples in https://brorlandi.github.io/big-text.js/
Usage
==============
```javascript
BigText("#span",{

@@ -46,4 +26,4 @@ rotateText: {Number}, (null)

Options
==============
## Options
**rotateText**: Rotates the text inside the element by X degrees.

@@ -65,4 +45,26 @@

License
==============
## Examples
```html
<div style="width: 300px, height: 200px">
<span id="span">BigText</span>
</div>
```
```javascript
BigText("#span");
```
With one simple line the text "BigText" will now have its font-size increased but without overflowing the element parent div.
See more examples in https://brorlandi.github.io/big-text.js/
## Browser Compatibility
- Internet Explorer 9 or higher (might work on older versions)
- Opera
- Firefox
- Google Chrome
- Safari
## License
This project is released under the MIT license.
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