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

@dezren39/twitter-tweet

v0.4.2

Published

a module to get and send tweets

Downloads

16

Readme

Copyright 2020 Drewry Pope
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Twitter-Tweet

strangetext transcription

  • source: https://github.com/twitter-base/image-generation/tree/main#readme
  • bot: https://twitter.com/SpongeScribe
  • owner/author/contact: https://twitter.com/dezren39
  • code_of_conduct: https://github.com/twitter-base/image-generation/blob/main/CODE_OF_CONDUCT.md
  • contributors: https://github.com/twitter-base/image-generation/blob/main/CONTRIBUTORS.md
  • license: https://github.com/twitter-base/image-generation/blob/main/LICENSE
  • license.NOTICE: https://github.com/twitter-base/image-generation/blob/main/NOTICE.LICENSE.md
  • changelog: https://github.com/twitter-base/image-generation/blob/main/CHANGELOG.md

IMPORTANT NOTE:

Please note that this project is released with a

Contributor Code of Conduct, located in the root

directory of this project under the file name:

  • CODE_OF_CONDUCT.md

By participating in this project you agree to abide by its terms.

Thank you for your participation.

  • code_of_conduct: https://github.com/twitter-base/image-generation/blob/main/CODE_OF_CONDUCT.md
  • contributors: https://github.com/twitter-base/image-generation/blob/main/CONTRIBUTORS.md

Source Code Form License Notice Attached Outside The Particular File

If it is not possible or desirable to put the notice in a particular file,

a License file named 'LICENSE' or 'LICENSE.md' or 'NOTICE.LICENSE.md' will

be present in each directory which has particular file(s) in that directory.

The License file will associate each particular file's name with the appropriate

Source Code Form License Notice and any relevant Copyright or other notices.

  • license: https://github.com/twitter-base/image-generation/blob/main/LICENSE
  • license.NOTICE: https://github.com/twitter-base/image-generation/blob/main/NOTICE.LICENSE.md

All scripts and calls expected to come from a pwd of the project root. Scripts in app/scripts should be ran by docker.

If you ever find files aren't making it into docker, check: .dockerignore ALLOW LIST

If you ever find files aren't making it into git, check: .gitignore BLOCK LIST

If you ever find files aren't making it into npm pack, check: app/.npmignore BLOCK LIST

.env files are blocked from docker container images, but they can be brought in for dev environments with docker --volume, docker-compose, etc.

To run app/scripts locally, run scripts/etc/create-data-dirs-and-symlinks.sh

If you add new app/scripts, you may need to:

  • Delete ALL lines in .gitignore BETWEEN lines BEGINNING WITH:

    • SYMLINK-GITIGNORE-AUTOMATION-START -

    • SYMLINK-GITIGNORE-AUTOMATION-ENDED -

  • Then run the following: scripts/etc/append-symlinks-to-gitignore.sh

To cleanup symlinks, run scripts/etc/cleanup-delete-all-symlinks.sh


TODO / NOTES

todo: rename data to dat

todo: lib vs dist src: (uncompiled) lib: compiled-node dist: compiled-browser https://2ality.com/2017/07/npm-packages-via-babel.html https://gist.github.com/ncochard/6cce17272a069fdb4ac92569d85508f4 # Allow files and folders with a pattern starting with ! !lib/**/*.js

check files merge

docker env script merge docker mount-nomount merge

confirm docker, docker-compose, manual, sleep, twitter, random run, random1krun, drop N files, get N*M images

get twitter autoreply webhook going

post image post image with alt text post image with alt text as reply to webhook

.lower sponge text ascii cursive sarcastric bold heavy ascii strange/crypt text ascii pictures with words describe pictures with words build general ai humans.txt robots.txt website blog blog post static ? keybase auth? lets encrypt? security.txt

TODO + manual still: https://github.com/github-changelog-generator/github-changelog-generator https://github.com/skywinder/gitlab-changelog-generator/blob/master/CHANGELOG.md automate package.json npm pack, npm publish automate version increase ticker semver2.0


Use within JSON Using JSON.stringify() with any BigInt value will raise a TypeError as BigInt values aren't serialized in JSON by default. However, you can implement your own toJSON method if needed:

BigInt.prototype.toJSON = function() { return this.toString() } Instead of throwing, JSON.stringify now produces a string like this:

JSON.stringify(BigInt(1)) // '"1"'