
Product
Introducing Custom Tabs for Org Alerts
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.
assemble-select-views
Advanced tools
Assemble plugin that adds a `.selectViews` method to the instance, for prompting the user to select the views they want to write to the file system.
Assemble plugin that adds a .selectViews method to the instance, for prompting the user to select the views they want to write to the file system.
Install with npm:
$ npm install assemble-select-views --save
Example

var select = require('assemble-select-views');
var assemble = require('assemble');
var app = assemble();
// register the plugin
app.use(select());
Example usage
See assemblefile.js for a working example.
// create a collection
app.create('pages');
// add "pages" to the collection
app.page('a.hbs', {content: 'this is {{name}}', data: {name: 'Foo'}});
app.page('b.hbs', {content: 'this is {{name}}', data: {name: 'Bar'}});
app.page('c.hbs', {content: 'this is {{name}}', data: {name: 'Baz'}});
// register an engine for rendering ".hbs" files
app.engine('hbs', require('engine-handlebars'));
// ask the user which "pages" they want to render
// and write to the file system
app.selectViews('pages', function(err, views) {
if (err) {
console.log(err);
return;
}
console.log('done!');
});
You might also be interested in these projects:
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Generate readme and API documentation with verb:
$ npm install verb && npm run docs
Or, if verb is installed globally:
$ verb
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb, v0.9.0, on May 09, 2016.
FAQs
Assemble plugin that adds a `.selectViews` method to the instance, for prompting the user to select the views they want to write to the file system.
We found that assemble-select-views demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Product
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.