Socket
Book a DemoInstallSign in
Socket

new-post-gatsby-starter-blog

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

new-post-gatsby-starter-blog

Create a new post in gatsby starter blog format with a simple command.

1.2.9
latest
Source
npmnpm
Version published
Weekly downloads
30
Maintainers
1
Weekly downloads
 
Created
Source

New Post Scaffold for Gatsby Starter Blog

A cli tool to create a new post and frontmatter for Gatsby Starter Blog

Joel Hooks, creator of egghead.io wrote a post on automating new posts for Gatsby with a basic npm script.

My script is basically his, with minor modifications; I'm using markdown here and the frontmatter format for this script is specifically for Gatsby Starter Blog. For an idea of how that starter is setup, checkout my TWBlog repo's src directory.

Usage

Open your terminal of choice and do the following:

npm install --global new-post-gatsby-starter-blog

then run

cd [your directory]
new-post "Title of post"

This will create a new post with the frontmatter scaffold appropriate for this starter.

Issues?

See Issues.

Suggestions?

Submit an issue or PR.

LICENSE: MIT.

Keywords

gatsby-starter-blog

FAQs

Package last updated on 12 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.