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 🙏

© 2025 – Pkg Stats / Ryan Hefner

adios-blog-cli

v0.0.6

Published

adiós static blog, generator, cli

Readme

Adiós-blog-cli

A cli for generate an static blog dist.

Features

Simple, Neat, Markdown First.

Usage

On terminal:

yarn global add adios-blog-cli

adios

In nodejs modules (you can go to Here for more details), you will need an adios.config.json configuration file in advance(check it in the next section):

// scripts/index.js
const { build, clean, serve } = require('adios-blog-cli');
const path = require('path');

// clean
clean(path.resolve(__dirname, '..'));

// build
build(path.resolve(__dirname, '..'));

// preview under development mode
serve(path.resolve(__dirname, '..'));
  • build(projectDir: string): void;: compile template files into HTML5 files.
  • clean(projectDir: string): void;: remove bundle directory.
  • serve(projectDir: string): void;: start a local server to preview the bundle files.

Config

when using cli as an module, you will need a configuration named adios.config.json under your project.

- your-project-dir
-|- src
-|- adios.config.json // your config file
-|- package.json
-|- theme
-|- public
-|- assets
-|- ... // other files

a full config file may be like this:

{
    "siteinfo": {
        "name": "Adiós Blog",
        "maintainer": "wiskewu",
        "description": "Adiós independent blog",
        "keywords": "Adiós, blogs",
        "homepage": "/",
        "publicPath": "/"
    },
    "settings": {
        "pageSize": 10,
        "homepage": {
            "filter": ["Notes"]
        },
        "navList": [
            {
                "title": "首页",
                "pathname": "/"
            },
            {
                "title": "分类",
                "pathname": "/categories/"
            },
            {
                "title": "标签",
                "pathname": "/tags/"
            },
            {
                "title": "关于",
                "pathname": "/about/"
            }
        ],
        "extraPages": [
            {
                "layout": "extra"
            },
            {
                "source": "brief",
                "layout": "extra",
                "outputName": "brief"
            }
        ]
    },
    "theme": {
        "name": "default",
        "path": "./theme"
    }
}

Field Explanation

  • siteinfo: Object; your site config.

    • siteinfo.name: string; your site name, show up in the homepage.
    • siteinfo.maintainer: string; the maintainter's name, show up in the page footer.
    • siteinfo.description: string; your site description, for SEO.
    • siteinfo.keywords: string; your site keywords, for SEO.
    • siteinfo.homepage: string; the homepage url.
    • siteinfo.publicPath: string; the public path of all web routes and static resources.
  • theme: Object; the theme template config.

    • theme.name: string; the direction name of theme template.
    • theme.path: string; the relative path to theme template directory.
  • settings: Object; your site settings.

    • settings.pageSize: number; depending how many items showing in one list-page.
    • settings.homepage.filter: Array; depending which categories of posts that will not showing up in the homepage.
    • settings.navList: Array; the navigation showing up on page header.
    • settings.extraPages: Array; specify what extra pages should be compiled as independent HTML files.

Advance Usage

  • custom theme: Just modify the theme template to customize your own style.
  • extend data: Feel free to write your own code, and feed your own data into .pug files.

Thanks List

Idea comes out from the following repos:

License

MIT.