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

devprod

v0.5.0

Published

A tool to set Roblox Developer Product configuration from a json file

Downloads

10

Readme

Install with node and npm install -g devprod or download packaged binaries from the releases page.

Devprod

Devprod is a tool to create and update Roblox Developer products according to a toml or json file. This can alleviate the pain of clicking through the website when applying large changes such as sales.

test-toml.devprod.toml and test-json.devprod.json are example files used for testing.

Devprod uses hashes of individual product entries to know when they have changed locally. Devprod will only post changes to the website if it notices that the entry has changed locally. You can override this by either forcing every product to post to the website or by removing the entry's hash from the file.

On Windows, Devprod can retrieve your Roblox Studio cookie automatically so you do not have to provide login details or a cookie. Alternatively, you can set the DEVPROD_COOKIE environment variable. Devprod does not provide a mechanism for logging in and does not permit passwords or cookies in the command line arguments.

Devprod is one-way: it will only upload changes to the website. Devprod will only download from the website after and upload to warn when text is filtered.

Examples:

| Command | Explanation | | :------ | :---------- | | devprod game --registry --update | will use the registry cookie and update changed entries for the game.devprod.toml or game.devprod.json file | | devprod game -ru | short version of the above | | devprod game --registry --create | will create products that don't have a product id. The new ids will be saved to the file and output in the terminal. | | devprod game -rc | short version of the above | | devprod game --registry --create --update | will create and update products | | devprod game -rcu | short version of the above | | devprod game -r --updateall | will force-update all entries even if they show no local changes | | devprod game --hash | will recalculate local hashes as if every entry has been updated without pushing changes to the website | | devprod game -rcu --preview | will list the changes to be made for devprod game -rcu without making the changes | | devprod game -rcup | short version of the above | | devprod --file game.json -rcu | uses the game.json file by direct name instead of game.devprod.json |

A short game.devprod.json:

{
    "universeId": 1068046093,
    "products": [
        {
            "name": "First product",
            "description": "",
            "price": 50,
            "imageId": 0,
            "productId": 945265100,
            "uploadedHash": "TXKoklTPFo8s5j0uFPm/KE0OW1g="
        },
        {
            "name": "Second product",
            "description": "",
            "price": 100,
            "productId": 945265311,
            "uploadedHash": "439y8RT5rhmPh1M4k3TDYgknR7o="
        }
    ]
}

Product Properties

All properties except name are optional.

| Property | Description | | :------- | :---------- | | name | The name of the product. Names must be unique. | | description | The description of the product. | | price | 0 is off-sale. Values 0 and greater are valid. | | imageId | The image asset id for the product's icon. | | productId | The id of the product. If absent, this product does not yet exist on the Roblox website. | | uploadedHash | The hash calculated from the properties after the product was last updated. |