@saxx/font-styler 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Font Styler is a simple and flexible Node.js library that allows you to fetch and apply custom font styles to text using the FontGen API. This library is perfect for creating stylized text for applications, websites, or any project requiring custom fonts.
4
4
 
5
- ![npm](https://img.shields.io/npm/v/font-styler)
6
- ![npm](https://img.shields.io/npm/dw/font-styler)
7
- ![npm](https://img.shields.io/npm/dt/font-styler)
5
+ ![npm](https://img.shields.io/npm/v/@saxx/font-styler)
6
+ ![npm](https://img.shields.io/npm/dw/@saxx/font-styler)
7
+ ![npm](https://img.shields.io/npm/dt/@saxx/font-styler)
8
8
 
9
9
  ## Features
10
10
 
@@ -15,15 +15,15 @@ Font Styler is a simple and flexible Node.js library that allows you to fetch an
15
15
 
16
16
  ## 📊 Statistics
17
17
 
18
- - **Total Downloads**: ![npm](https://img.shields.io/npm/dt/font-styler)
19
- - **Weekly Downloads**: ![npm](https://img.shields.io/npm/dw/font-styler)
18
+ - **Total Downloads**: ![npm](https://img.shields.io/npm/dt/@saxx/font-styler)
19
+ - **Weekly Downloads**: ![npm](https://img.shields.io/npm/dw/@saxx/font-styler)
20
20
 
21
21
  ## Installation
22
22
 
23
23
  To install the library, use npm:
24
24
 
25
25
  ```bash
26
- npm install font-styler@latest
26
+ npm install @saxx/font-styler@latest
27
27
  ```
28
28
 
29
29
  ## Usage
@@ -33,13 +33,13 @@ Here’s a quick example of how to use Font Styler:
33
33
  ### Importing the Library
34
34
 
35
35
  ```javascript
36
- const { fontStyle, applyFont, fontStyler, getFontStyle, allFont, listFont, getAllFonts, fetchFonts } = require('font-styler');
36
+ const { fontStyle, applyFont, fontStyler, getFontStyle, allFont, listFont, getAllFonts, fetchFonts } = require('@saxx/font-styler');
37
37
  ```
38
38
 
39
39
  ### Applying a Font Style to Text
40
40
 
41
41
  ```javascript
42
- const { fontStyle, applyFont, fontStyler, getFontStyle, allFont, listFont, getAllFonts, fetchFonts } = require('font-styler');
42
+ const { fontStyle, applyFont, fontStyler, getFontStyle, allFont, listFont, getAllFonts, fetchFonts } = require('@saxx/font-styler');
43
43
 
44
44
  fontStyle('hello', 'monospace').then(result => {
45
45
  console.log("Styled Text:", result);
@@ -51,7 +51,7 @@ fontStyle('hello', 'monospace').then(result => {
51
51
  ### Fetching All Available Fonts
52
52
 
53
53
  ```javascript
54
- const { fontStyle, applyFont, fontStyler, getFontStyle, allFont, listFont, getAllFonts, fetchFonts } = require('font-styler');
54
+ const { fontStyle, applyFont, fontStyler, getFontStyle, allFont, listFont, getAllFonts, fetchFonts } = require('@saxx/font-styler');
55
55
 
56
56
  allFont().then(result => {
57
57
  console.log("Available Fonts:", result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saxx/font-styler",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A simple and flexible Node.js library for fetching and applying custom font styles from FontGen API.",
5
5
  "main": "index.js",
6
6
  "keywords": [