Node Code Examples

Node projects

These examples are written for applications or tools that use Node.

WP Edit

An in progress Atom plugin for fetching a post, creating a post and updating a post or page using the WordPress Rest API. Contains example of Mocha based unit testing.

https://github.com/Zackio/wpedit

Assemble Helpers

A miscellaneous collection of helpers for the Assemble build tool.

https://github.com/Zackio/Assemble-Helpers

Gulp CSS TOC

A gulp plugin for adding a TOC to a CSS file. A project required a TOC in the finished compiled CSS for novice users to edit.

https://github.com/Zackio/Gulp-CSS-TOC

Yeoman WordPress Generator

A yeoman generator for creating a new WordPress install. Uses the WordPress NPM package. https://github.com/Zackio/yeoman-wordpress-generator-task

Gulp Contains

A significant contribution to the gulp contains plugin that was folked into the core plugin.

https://github.com/Zackio/gulp-contains

Gulp templates

A small plugin to help with a theme project. Creates a php visual composer template from WordPress XML export

https://bitbucket.org/zackster/gulp-templates/

Gulp Demos

Filters out post types form a WordPress XML export

https://bitbucket.org/zackster/gulp-demos

Node helper scripts

To process exported WordPress XML files to make them ready for distribution as a demo file to import.

https://gist.github.com/Zackio/c7a0723095e18edd617af09a6076d79b