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 🙏

© 2026 – Pkg Stats / Ryan Hefner

torq-button-schematic

v0.0.6

Published

A Schematic for Implementing a Button based on the Torq Design System in your Application

Readme

Torq Button Schematic

Torq Button in Action

Torq Button

4 Different Torq Buttons

Button Type | Display | --------- | ------------- Primary | Primary
Call to Action | Call To Action Outline | Outline Text | Text

Steps to Install Torq Schematic

This repository holds the code to install a simple button component into your project that is based on the Torq Design System. To install the button to your project, follow the steps below:

  1. Make sure to have an Angular Project initialized and cd into the project
  2. If you do not have an Angular project initialized already, make a new Angular project using the 'ng new projectname' command
    1. If you get an error when running the ng new command, it is likely that you do not have the angular-cli installed on your machine. To install the angular-cli on your machine, please follow the steps on https://cli.angular.io/
  3. Once you have created a new project or if you are working with a pre-existing project, open up a terminal or command prompt window at the base level of your angular project.
  4. Install the dependency for the torq-schematic by running 'npm i torq-button-schematic'
  5. Now all you need to do to run the schematic is run the following command in the root directory of your angular project. 'ng generate torq-button-schematic:torq-btn'
  6. You will be prompted to enter a component name and a stylesheet extension type
  7. At this point, your schematic will run and you should see a console output similar to:
    1. Name of the button is mandatory and so is the style property Torq Button Installation
  8. If everything ran succesfully then you should be able to navigate to the /src/app directory of your angular project and see a new folder for the component you just created
  9. At this point, you can use the component freely in your application just like any other component using markup. Example:
    1. To configure your button with a different text and style you can customize your button like <torq-btn [btntext]="'Buttons'" [btnclass]="'callToAction'">

Torq Button Properties

Property | Value Options | Default Value --------- | ------------- | ------------- btntext | Any Text | Button btnclass | primary, callToAction, outline, text | primary

Help With Issues

If you are seeing any issues, please email me with a screenshot of your issue