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

autotweet

v1.1.0

Published

A Twitter bot for scheduling tweets

Downloads

3

Readme

AutoTweet

AutoTweet is a Twitter bot that helps with tweeting at a scheduled time.

consumer_key: '65EmpGTOKXXkjHR9tI5Jiio01',

consumer_secret: 'FZ0lYU5dUJA4YTuqPtZ4q5NfXLbXFuz4E9xgA49ij6Tc8YAcol',

access_token: '2963547257-9N7VF9O9gLjQQTtJhRVjk8chJQivg0zTMV2dy9E',

access_token_secret: 'QMnRuSd0zbh3HbZ09wcVUohOEAol5W6HrABPyNF0gf0fY'

Change the hash values to those provided to you by the Twitter app.

var tweet = ['12:22 AM'];

cycle: '12:22:00'

Deploying to Heroku

If you want the script to be running continuosly you have to move it to a server.

Provided you have an Heroku account and Heroku CLI installed on your machine you can easily deploy AutoTweet to heroku.

Now that you've pushed the project to heroku there's one more thing to check.

Go to your heroku dashboard and click on your app name. You will see some set of tabs, click on Overview then go to configure dynos. You will have two options -- Web and Worker. The web part means that the app is a web service but our app is a bot so turn off the web and turn ON the worker instead. Your bot won't work without completing this process.

The final process must look like this:

Congratulations, you did it!

You can get in touch with me via my twitter handle @adetona77