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

generate-progressbar

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generate-progressbar

Create progressbar easily

0.0.1
Source
npm
Version published
Maintainers
1
Created
Source

stars license supportServer forks issues

Logo

Simple Progressbar

Create progressbar easily
Get support »

Report Bug · Request Feature

📦 Installation

  • Using yarn: yarn add generate-progressbar
  • Using npm: npm i generate-progressbar

🤓 Usage

import { generate } from "generate-progressbar";
const bar = generate(10, 50); // bar length: 10, percentage: 50%, total length: 12
// output [▓▓▓▓▓░░░░░]

using custom options

import { generate /* , IProgressbarOptions */ } from "generate-progressbar";
const options /* : IProgressbarOptions*/ = {
	empty: "-",
	end: "|",
	full: "+",
	seperator: "o",
	start: "|",
};
const bar = generate(10, 50); // bar length: 10, percentage: 50%, total length: 12
// output |++++o-----|

📄 License

Copyright © 2021 Barış DEMİRCİ.

Distributed under the GPL-3.0 License. See LICENSE for more information.

🧦 Contributing

Feel free to use GitHub's features.

  • Fork the Project
  • Create your Feature Branch (git checkout -b feature/my-feature)
  • Run prettier and eslint (npm run format && npm run lint)
  • Commit your Changes (git commit -m 'my awesome feature my-feature')
  • Push to the Branch (git push origin feature/my-feature)
  • Open a Pull Request

🔥 Show your support

Give a ⭐️ if this project helped you!

📞 Contact

FAQs

Package last updated on 11 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts