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

ducktypecoder

v0.6.2

Published

Test ducktypecoder projects and sync progress in the cloud

Downloads

2

Readme

ducktypecoder npm package

student / learner / consumer

ducktypecoder start hello-world

consumer runs this command. it creates a new directory, clones setup files into that directory. user can change into that new directory and follow the project’s first step.

ducktypecoder next

consumer runs this command when they have finished the current step. the command will run tests to see if they pass, if they do, the command will unlock the next step of the project.

on going to a new step, app will branch accordingly (git checkout -b ducktypecoder-step-3)

NOT YET IMPLEMENTED:

ducktypecoder next —force

consumer runs this to skip to the next step without passing tests

ducktypecoder goto step 9

consumer runs this to skip to a specific step.

ducktypecoder revert step 9

consumer runs this to wipe out their current git branch and pull down the projects actual starting point for that step (git pull origin ducktypecoder-step-9)

creator / author

ducktypecoder init

creator runs this command to setup a new project that is ready to begin adding content and tests. This will be the ‘master’ branch and it will provide the introduction and description of the project. The creator will run ‘ducktypecoder add step’ to create the first step.

ducktypecoder add step

creator runs this to add another step to the project. The creator will add content and tests. The content will guide the learner to create some code that will pass the test suite.

the command will create and checkout a new branch with a name ‘ducktypecoder-step-’. The step number is one more than the last step.

creator adds a step with content and tests, then adds the answer for that step. Proceeds until all steps and answers provided.

ducktypecoder add answer

creator runs this after they have added content for the current step. It will add a new branch 'ducktypecoder-step--answer', which contains code that makes the step tests pass.

ducktypecoder add conclusion

creator runs this when all steps & answers are provided. This conclusion will be displayed when the learner finishes the project. It might say ‘congratulations!’ and point to additional learning and resources.

ducktypecoder edit author

Creator runs this to add their own information, like email and twitter handle, to the project's meta data.

ducktypecoder publish

Commits current work, gathers all the project steps and posts the project to the ducktypecoder web app. User must be logged in.

NOT YET IMPLEMENTED:

ducktypecoder edit step <number>

Similar to ‘goto’, this command changes to the corresponding branch so the creator can edit and push updates.

ducktypecoder edit answer <number>

Similar to ‘goto’, this command changes to the corresponding branch so the creator can edit and push updates to an answer.

authentication

ducktypecoder login

User must login to publish their project sync onto the web platform.

ducktypecoder logout

Erases user auth from local machine.

contribute

Clone the project and run it alongside the ducktyper app.

Run ducktypecoder with the flag '-d' or '--development' to use the local development app url (http://localhost:3000).