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

antwerp

v1.1.19

Published

Antwerp Static Site Generator

Downloads

6

Readme

antwerp

Antwerp The Static Archive Site Generator

Usage

project: catpea

      src: /home/user/catpea-project/database
    video: /home/user/catpea-project/dist/video/
     dest: /home/user/catpea-project/dist/website/
  samples: /home/user/catpea-project/samples
    theme: /home/user/catpea-project/theme
    cache: /home/user/catpea-project/.cache
 snippets: /home/user/catpea-project/snippets.md

Examples:

antwerp register my-project /path/to/data
#points my-project to /path/to/data configuration directory

antwerp new catpea furkies-purrkies --title "My New Furkies Purrkies Title"
#builds a new record in /home/user/catpea-project/database/furkies-purrkies

antwerp new catpea westland-warrior --title "My New Westland Warrior Title"
#builds a new record in /home/user/catpea-project/database/westland-warrior

antwerp build catpea
#builds website in /home/user/catpea-project/dist/website/

antwerp read catpea configuration.snippets
#prints /home/user/catpea-project/snippets.md

Usage: antwerp [options] [command]

Options:
  -V, --version                       output the version number
  -h, --help                          display help for command

Commands:
  register [project-name] [data-dir]  register a new project pointing it to a data/registry directory
  new [project-name] [creator-name]   create a new/blank record in the specified database
  build [project-name]                build a registered project
  read [project] [path]               read a configuration value with dotted notation, ex: configuration.src
  help                                clone a repository into a newly created directory

Images

Only main Post/Article Image is resized to sm, md, lg. images other than cover are not resized.

The original post image is copied to the website without any prefix, and without resizing, it is intended to be used as the zoom image.

Front Matter


id: furkies-purrkies-poetry-0931
guid: 10ad7005-85ca-4141-8490-69b54d440550
title: What The Doodle Is A Tutorial Anyway?
description: null
tags:
  - furkies-purrkies
date: '2022-09-18T02:34:49.821Z'
lastmod: null
weight: 93100
audio: poetry-0931.mp3
image: poetry-0931-illustration.jpg
images: null
artwork:
  - https://unsplash.com/photos/o15lOC7SJKs
resources: null
features: {}
draft: false

Processed Record


{
  "src": "/home/user/db/dist/new-database/furkies-purrkies/poem-0934",
  "file": {
    "index": {
      "name": "index.md",
      "src": "/home/user/db/dist/new-database/furkies-purrkies/poem-0934/index.md",
      "size": 2424,
      "atime": "2022-09-21T19:01:55.325Z",
      "mtime": "2022-09-21T19:01:55.345Z",
      "ctime": "2022-09-21T19:01:55.345Z",
      "dest": {
        "target": "/home/user/db/dist/new-website/permalink/3a6f4d53-50a6-4f33-8579-872ac5b026ac/index.html",
        "missing": true,
        "expired": false,
        "update": true
      }
    },
    "files": {
      "name": "files",
      "src": "/home/user/db/dist/new-database/furkies-purrkies/poem-0934/files",
      "directory": true,
      "size": 4096,
      "atime": "2022-09-21T19:01:55.348Z",
      "mtime": "2022-09-21T19:01:55.500Z",
      "ctime": "2022-09-21T19:01:55.500Z",
      "dest": {
        "target": "/home/user/db/dist/new-website/permalink/3a6f4d53-50a6-4f33-8579-872ac5b026ac/files",
        "missing": true,
        "expired": false,
        "update": true
      }
    }
  },
  "attr": {
    "features": {},
    "id": "furkies-purrkies-poetry-0934",
    "guid": "3a6f4d53-50a6-4f33-8579-872ac5b026ac",
    "title": "Easy Peasy Muscle; Or, How To Get Your Beefcupcake On",
    "description": null,
    "tags": [
      "furkies-purrkies"
    ],
    "date": "2022-09-21T03:18:07.713Z",
    "lastmod": null,
    "weight": 93400,
    "audio": "poetry-0934.mp3",
    "image": "poetry-0934-illustration.jpg",
    "images": [],
    "artwork": [
      "https://catpea.com"
    ],
    "resources": null,
    "draft": false,
    "links": [
      {
        "title": "dancing",
        "url": "https://www.youtube.com/results?search_query=tutorial+shuffle+dancing+cutting+shapes",
        "presentation": false
      },
      {
        "title": "hiking",
        "url": "https://www.youtube.com/watch?v=hPSvdKTEZug",
        "presentation": false
      }
    ]
  },
  "html": "<p>Exercise ... road.</p>\n",
  "order": {
    "first": true,
    "last": false,
    "prev": "79689bfd-9365-4b7a-a814-957222fdfaa3",
    "next": "36cac2c7-3bf4-4fb3-8fe0-24a8dba48c88"
  },
  "md": "Exercise... eyes.",
  "text": "Exercise... eyes.",
  "snip": "Exercise... eyes."
  "number": 1112,
}

packages.json

Note the use of: antwerp read catpea configuration.theme


{
   "scripts": {
    "watch": "nodemon --watch $(antwerp read catpea configuration.theme) -e ejs,css,js --watch . -e js,json antwerp build catpea",
    "server": "http-server -o -c-1 $(antwerp read catpea configuration.dest)"
  }

}