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

moan

v0.1.3

Published

Simple task-based JavaScript build system

Downloads

7

Readme

ooo. .oo.  .oo.    .ooooo.   .oooo.   ooo. .oo.
`888P"Y88bP"Y88b  d88' `88b `P  )88b  `888P"Y88b
 888   888   888  888   888  .oP"888   888   888
 888   888   888  888   888 d8(  888   888   888
o888o o888o o888o `Y8bod8P' `Y888""8o o888o o888o

A simple modern task-based JavaScript build system that doesn't try to do too much.

Build Status Coverage Dependency Status Dev Dependency Status License Release

Install

Install using npm:

$ npm install -g moan

Now you can use the moan command anywhere!

You'll need to have at least Node.js v4 or later installed.

Usage

All you need is a Moaning.js file in your project directory and you can start building with moan.

CLI

Here's how to use the moan command:

Usage: moan [options] <task ...>

Options:

  -h, --help         output usage information
  -V, --version      output the version number
  -d, --debug        enable debug output
  -f, --file [name]  specify alternative name for the Moaning file
  --force            force tasks to run even after errors
  -l, --list         list all available tasks
  --no-color         disable color output
  --stack            print stack traces for errors

API

Here's how you can interact in your Moaning.js file but take a look at the code to see all that's available.

task(name)

task(name[, dependencies][, runnable])

config(key)

config(key, value)

fileSet(id)

fileSet(id, patterns[, options])

run([names])

Example

There's no perfect example of a Moaning.js file since every project is different (that's the point of moan!) but, if you're looking for some inspiration, look at our very own Moaning.js file.

Just keep in mind that you can't use a globally installed moan to execute our Moaning.js file since it uses the project internals to build itself (see CONTRIBUTING.md for more information and alternative approach).

Bugs

If you have any problems with this tool or would like to see changes currently in development you can do so here.

Contributors

If you want to contribute, you're a legend! Information on how you can do so can be found in CONTRIBUTING.md. We want your suggestions and pull requests!

A list of moan contributors can be found in AUTHORS.md.

License

Copyright (c) 2015 Alasdair Mercer

See LICENSE.md for more information on our MIT license.