npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

bug-tracker-library

v1.3.4

Published

Bug Reporter is a component of bug-tracker-library that can be attached to any app to take screenshots and report bugs

Downloads

10

Readme

[Bug Reporter Library]

bug-tracker-library is a library for reporting the bug and generating a bug report.

Installation

Note: Use yarn instead of npm

For adding the library in your App, run following command : $yarn add bug-tracker-library

Steps: to use this library in your project:

  1. Add this library to your application by doingimport BugReporter from bug-tracker-ibrary

  2. If your project didn't use antd Modal then add the following line import 'antd/dist/antd.css';

  3. Provide the buttonStyle prop to library to set the position of button or else it will take default style as -

{ position: "fixed", bottom: 90, right: 100 } 5.Can provide name and email of the persion sending the report

  1. provide a API end-point as url prop for a post request call, to which it will submit a object with keys -

{image: , description: , ipAddress: , email: , browserName: , path: } and where image will hold image url of final marked image, description will hold bug description provided, path will hold path of the page url where bug is been reported, email will hold email address of the user who is reporting that bug, ipAddress will hold IP address and browserName will hold current browser name where application is been executed.

How to use this libraray-

  • Include this in your script.

How it works

<BugReporter buttonStyle={{ position: "fixed", bottom: 90, right: 100, zIndex:2000 }} url={"http://localhost:8000/add"} name="Bob" email="[email protected]" appName="bugTracker" />

How it works

  • Once this library is added user will get a button in that application. by clicking it will be hold the screen where they can take the screenshot, then it take into a Modal where they can have marker to chose different color and different size.now using it they can mark multiple bugs and put a description on each.

  • User will get reset button for reset your Modal screen and close button to close that model

  • also user can get one description box bellow the Modal where can describe more information and submit button will do a POST http request and all the useful information will send onto that given url end-point and will store there into database.

External Library it uses

  1. @ant-design/icons

  2. antd

  3. html-to-image

  4. react-screen-capture

  5. react-zoom-pan-pinch