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

type-challenge-helper

v1.0.12

Published

<p align='center'> <a href=''> <img src='https://img.shields.io/npm/v/type-challenge-helper'/> </a> <a href=''> <img src='https://img.shields.io/npm/l/type-challenge-helper'/> </a> </p>

Downloads

2

Readme

type-challenge-helper

Intro:

This tool will help you to fetch files from type-challenge.

Enable you to use type-challenge efficiently.

Enable type now:

  • [x] warm
  • [x] easy
  • [x] medium
  • [ ] hard
  • [ ] extreme

Before use:

when you use this tool, ensure you have

  • A folder
  • Install the typescript in your folder
  • Have tsconfig.js in your folder

Install:

npm install -g type-challenge-helper github-files-fetcher

Usage:

usage

use like this:

tch (type-challenge title)

eg:

tch Pick

This shell will generate a dir which name is same as the title, and include two files fetch from type-challenge: template.ts and test-cases.ts.

Then just write your code in template.ts and check it in test-cases.ts

✨TODO:

  • [x] Directly fetch the template and test-cases.ts from type-challenge
  • [x] implement the remaining type in const.js
  • [ ] handle all the errors
  • [ ] timeout and network error
  • [ ] Fetch template file and typescript config
  • [ ] scaffold

Not work?

This tools relays on your network, if you got a empty folder, follew the below:

Setp1:

ensure you install the whole deps, run the command in your termainal

tch

then

fetcher

step2:

try to fetch files from github

fetcher --url=https://github.com/type-challenges/type-challenges/blob/main/questions/00191-medium-append-argument/template.ts

if no files, means your network is bad, try to improve that