1.1.14 • Published 2 months ago

readme-package-icons v1.1.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

readme-package-icons

Open in Visual Studio Code npm bundle size Github workflow Quality Gate Status Maintainability Rating Security Rating Reliability Rating Coverage Lines of Code Technical Debt Code Smells Bugs Vulnerabilities Duplicated Lines (%) Last commit

Generating a list of icons from dependencies.

Blabla

Our icons list will be inserted between these two tags.

#### 🌀 Cli

One way to use this package is to use its executable. The `generateReadmeIcons` function takes two optional arguments:

| name | description          | Example  | Default |
| ---- | -------------------- | -------- | ------- |
| p    | The path to the repo | ./myRepo | .       |
| h    | Height of the icons  | 100      | 50      |

##### 🍥 Within a package

We could add a script to our package.json for example:

```json
{
  "scripts": {
    "readme-icons": "generateReadmeIcons"
  }
}
🍥 Globally

We can also install the package globally:

npm install -g readme-package-icons

Then we can use it by using the -p option:

npm run generateReadmeIcons -p /Users/jpb06/repos/myRepo

🌀 node

This package exposes the function as well:

import { generateReadmeIcons } from 'readme-package-icons';

(async (): Promise<void> => {
  const path = './path/to/my/repo';
  const iconsHeight = 50;

  const iconsAddedToReadmeCount = await generateReadmeIcons({
    path,
    iconsHeight,
  });
})();

⚡ Thanks

This module uses some icons from devicons. Thanks for their great work!

1.1.12

2 months ago

1.1.11

2 months ago

1.1.14

2 months ago

1.1.13

2 months ago

1.1.9

5 months ago

1.1.10

5 months ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago