Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blake

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blake - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

package.json
{
"name": "blake",
"version": "1.0.0",
"description": "Generate static sites",
"version": "1.0.1",
"description": "Generate anything",
"main": "index.js",

@@ -10,3 +10,3 @@ "directories": {

"scripts": {
"test": "NODE_TEST=1 tap test/*.js",
"test": "NODE_TEST=1 tap -b test/*.js",
"posttest": "rm -rf /tmp/blake-[1-9]*"

@@ -13,0 +13,0 @@ },

# blake - generate anything
The **blake** [Node](https://nodejs.org/) package provides a file generation pipeline. I wrote it to generate my [site](http://troubled.pro/). Separating IO from data transformation—by using an intermediate representation—**blake** takes care of IO, and lets you get on with generating your stuff. Of course, [gulp](http://gulpjs.com/) puts itself forward as a streaming build system, but if you—like me—experience slight framework fatigue, and prefer plain Node, you might want to give **blake** a shot.
The **blake** [Node](https://nodejs.org/) package provides a file generation pipeline. Originally, I wrote it to generate my [blog](http://troubled.pro/). Separating IO from data transformation—by using an intermediate representation—**blake** takes care of IO, and lets you get on with generating your stuff. Of course, [gulp](http://gulpjs.com/) puts itself forward as a streaming build system, but if you—like me—experience slight framework fatigue, and prefer plain Node, you might want to give **blake** a shot.
[![Build Status](https://travis-ci.org/michaelnisi/blake.png)](http://travis-ci.org/michaelnisi/blake)
[![Build Status](https://travis-ci.org/michaelnisi/blake.svg)](http://travis-ci.org/michaelnisi/blake)
## Example
Alas, I don't have a silly example yet, however, you can generate my site to get an understanding of how to use **blake**:
Alas, I don't have a silly example yet, however, after installing **blake**, you could generate my blog, to see how it works:

@@ -59,3 +59,3 @@ ```

Just a bag of things, passed to your **view function**, you can put anything you want in here; just remember that **blake** uses these properties internally:
Just a bag of things, passed to your **view function**, you can put anything you want in here; just remember that **blake** uses following properties internally:

@@ -62,0 +62,0 @@ - `template` `String()` The filename of the template.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc