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

deploymeteor

v1.2.4

Published

Deploy your meteor app

Readme

DeployMeteor

npm install -g deploymeteor

deployMeteor [--source=./] [--config=./.deployMeteor.yaml [--config=/foo/bar/.{json|yaml}]]

What does it do?

  • build the meteor app --source=./ default to current directory
  • compress the bundle
  • check the configuration
  • check some basic requirements on the servers (can connect, can write, has docker)
  • on each server:
    • pull the docker image (docker)
    • backup previous version ({{path}}/{{name}}.backup)
    • upload the compressed bundle to ({{path}}/{{name}})
    • uncompress the bundle
    • create some start and stop scripts ({{path}}/{{name}}/start.{{port}}.js) {{path}}/{{name}}/stop.{{port}}.sh)
    • if (port) is an array
      • it does the next steps, once for each port, delaying checktimes*checkseconds each
    • stop previous version
    • lauch current version
    • check that it is working in the ip (bind) and port (port) indicated, (checktimes) times maximun, delaying (checkseconds) each.
    • If no one check is successfull:
      • stop current version
      • lauch previous version

.deployMeteor.yaml

Simple

root: http://example.com
path: /folder/to/be/deployed/in/the/servers
name: myMeteorAppName
port: 8080
mongo:
  mongodb: mongodb://host1,host2,host3/database?replicaSet=yourReplicaSetName
  oplog: mongodb://host1,host2,host3/local?replicaSet=yourReplicaSetName
ssh:
  host: yourHost.com
  username: username
  privateKey: /home/user/.ssh/id_rsa

Full

root: http://example.com
path: /folder/to/be/deployed/in/the/servers
name: myMeteorAppName
port: [8080, 8090]
bind: 127.0.0.1
settings: ./production.settings.json
forwarded: 1
checktimes: 10
checkseconds: 6
docker: 'pykiss/simple-meteor'
mongo:
  mongodb: mongodb://host1,host2,host3/database?replicaSet=yourReplicaSetName
  oplog: mongodb://host1,host2,host3/local?replicaSet=yourReplicaSetName
ssh:
  - host: yourHost.com
    username: username
    privateKey: /home/user/.ssh/id_rsa
  - host: yourOtherHost.com
    port: 2222
    username: OtherUsername
    password: password
  - host: [somehos.ts, 'withwqu.al, Credentia.ls]
    username: username
    password: password

you can use json with --config=.../foo.json

{
  "root": "http://example.com",
  "path": "/folder/to/be/deployed/in/the/servers",
  "name": "myMeteorAppName",
  "port": [
    8080,
    8090
  ],
  "bind": "127.0.0.1",
  "settings": "./production.settings.json",
  "forwarded": 1,
  "checktimes": 10,
  "checkseconds": 6,
  "docker": "pykiss/simple-meteor",
  "mongo": {
    "mongodb": "mongodb://host1,host2,host3/database?replicaSet=yourReplicaSetName",
    "oplog": "mongodb://host1,host2,host3/local?replicaSet=yourReplicaSetName"
  },
  "ssh": [
    {
      "host": "yourHost.com",
      "username": "username",
      "privateKey": "/home/user/.ssh/id_rsa"
    },
    {
      "host": "yourOtherHost.com",
      "port": 2222,
      "username": "OtherUsername",
      "password": "password"
    },
    {
      "host": [
        "somehos.ts",
        "withwqu.al",
        "Credentia.ls"
      ],
      "username": "username",
      "password": "password"
    }
  ]
}

Please, Helpme to improve the documentation

thanks