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 🙏

© 2026 – Pkg Stats / Ryan Hefner

s2sconvert

v1.0.3

Published

A tool to batch convert sass files to stylus files using the command line

Readme

s2sconvert

A node based tool which uses Mojotechs excellent sass2stylus api to batch convert all sass files to stylus files in a folder using the command line.

Installation

As this is a node package, Installation is easy! Just type npm install s2sconvert, if you want to use it globally I suggest adding the '-g' flag.

Usage

Batch file (default)

s2sconvert uses the command line to batch convert all files in the current working directory by default, so simply go to the directory containing your files and type:

s2sconvert

Single file

If you only want to convert a single file then that's possible too, again go to the working directory and type:

s2sconvert -s 'filename.sass'

Longform argument: --single

Specify source(input) directory

You can also specify an input directory if you want to use the tool from within something like gulp or grunt (or if you just can't be bothered to cd into the correct folder ):

s2sconvert -i '/path/to/files'

Longform argument: --in

Specify output directory

By default s2sconvert just outputs the files in the current directory, if you want to specify an output directory, use the following:

s2sconvert -o '/path/to/directory'

Longform argument: --out

Delete originals

If you want to delete the source files automatically once they have been converted add the '-d' flag:

s2sconvert -d

Longform argument: --delete

Bypass all prompts (force)

You can force the conversion without having to answer any prompts by using the -f flag.

s2sconvert -f

Longform argument: --force

Warning: The prompts are there to prevent you from accidentally converting files in the wrong directory, as this tool converts subdirectories as well, it could convert every sass file on your computer if used in the wrong place (your root directory for example). Use this at your own risk.

Show help

Show the help, pretty self-explanatory really.

s2sconvert -h

Longform argument: --help

Roadmap

  • Add some unit tests to ensure future releases are robust