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

anyphoto

v1.0.0

Published

Photo by any inspiration

Downloads

1

Readme

AnyPhoto

anyphoto is a drawing tool that allows you to generate beautiful pictures anywhere,based on node-canvas.

Playground

You can quickly experience it in playground. (This visual playground is constantly being improved, and it is more recommended to install it locally to experience it)

Examples

More cases can be viewed in examples.

demo1 demo2

Install

By default, binaries for macOS, Linux and Windows will be downloaded.Caused by core package node-canvas

The first installation requires compilation, so it may take a long time. If you encounter problems during the installation process, please check install wiki and find the corresponding solution before installing it.

npm install anyphoto -g

You can also use it by use npx

Usage

It is expected to support 4 commands, currently 2 of the core are supported.

Init

Generate a configuration file, and then you can make modifications in the configuration file. This command supports creating configuration files in any directory.

anyphoto init

More configuration items can be viewed at configuration. (due to time and energy issues, the document is being continuously improved)

Generate

After executing this command, a picture will be generated based on the configuration file generated and modified in the previous step.

anyphoto generate

This command supports passing parameters and several core options. You can pass them in when executing this command. The parameters and options passed in the command line will overwrite the corresponding configuration items in the configuration file.

You can execute anyphoto generate --help to view them

Github(planning)

After generating the image, you can execute this command to upload the image to github

Show(planning)

Preset templates will be supported in the future. After executing this command, you can check which templates are currently available, and you can also view sample images of the specified template.

TODO

  • [ ] Support more preset templates
  • [ ] Try to better implement the content wrapping layout part
  • [ ] Improve documentation

Contact

If you are interested in this project or encounter any problems during use, you can communicate with me through WeChat ID XdzD8b