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

mortero

v0.0.123

Published

Used in modern masonry to glue things and build frontages

Downloads

245

Readme

Build status NPM version

🛠 Work in progress...

CLI

Available options:

    -C, --cwd           Sets the current working directory for EXEC calls
    -D, --dest          Sets the target destination for written files,
                        default is ./build
    -o, --show          Sets the limit for displaying files on build,
                        default is 3
    -y, --only          Used to filter out non-matching sources,
                        e.g. `-ymain` or `--only app`, etc.

    -e, --ext           Enforce preprocessing through virtual extensions,
                        i.e. `-ecss.less` render .css files with LESS.js
    -c, --copy          Copy from given sources to the target destination,
                        use the format `SRC:DEST` e.g. `-cpublic:.`
    -w, --watch         Enable file-watching through chokidar,
                        also appends directories to watch
    -B, --bundle        Enforce bundling on matching sources,
                        e.g. `-B "**/{app,main}"`
    -r, --rename        Configure the renaming rules,
                        i.e. `-r "**/app/**:{filepath/1}"` will
                        strip the first directory segment from its filepath
    -T, --timeout       Sets the timeout for compiling between changes,
                        default is 100
    -L, --plugins       Enable additional support through plugins,
                        e.g. `-L./your-plugin`

    -F, --filter        Files matching these rules are indexed and processed,
                        default is **
    -i, --ignore        Files matching ignore rules are discarded from above,
                        default is !**
    -I, --ignore-from   Extract and set ignore rules from any given files,
                        e.g. `-I.gitignore`
    -G, --ignore-serve  Excludes additional sources from live-server reload,
                        e.g. `-Gmain-iife.js`
    -X, --exclude       Files matching exclude rules are not processed,
                        e.g. `-X "{lib,shared,components}"`

    -M, --modules       Installs from pkg.snowpack.dev and serve locally
    -n, --online        Rewrite imports to resolve against skypack.dev CDN

    -a, --alias         Configure esbuild aliases, e.g. `-afoo:./bar`
    -H, --paths         Additional directories to search for modules
    -m, --minify        Minify all given JavaScript through esbuild
    -N, --external      Configure esbuild externals, e.g. `-Nlodash`
        --platform      Configure esbuild platform, default is node
        --format        Configure esbuild format (default is esm),
                        use --esm, --cjs or --iife as shortcuts
        --target        Configure esbuild target,
                        set to node10.23 when format is not esm

    -b, --base          Sets the location for embedding resources,
                        default is http://localhost:PORT
    -p, --port          Sets the port used for the live-server,
                        default is PORT or 8080
    -P, --proxy         Enable one or more proxies on live-server,
                        i.e. `-P/api:3001/api/v1/` will proxy all calls
                        from /api to http://0.0.0.0:3001/api/v1 and
                        `-P/api:3001` to http://0.0.0.0:3001/api, etc.
    -s, --serve         Additional directories to serve, e.g. `-spublic`
    -k, --index         Outputs TOML configuration for Stork Search usage

    -f, --force         Skip cache rules to build everything from scratch
    -q, --quiet         Disable most logging messages
    -d, --debug         Enable source-maps
    -V, --verbose       Enable additional logs

    -S, --no-serve      Disable live-server on --watch
    -W, --no-write      Disable writing files to disk
    -E, --no-embed      Disable resource inlining on .html files
        --no-shake      Disable tree-shaking when bundling is used
    -A, --no-install    Disable automatic installs during development
    -K, --no-process    Disable post-processing of all given sources
    -O, --no-progress   Disable extended logging from compilations