
Research
PyPI Package Impersonates SymPy to Deliver Cryptomining Malware
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.
assemble-ask
Advanced tools
Assemble plugin for asking questions and storing answers.
Install with npm
$ npm i assemble-ask --save
var assemble = require('assemble');
var ask = require('assemble-ask');
app = assemble();
app.use(ask());
app.ask('What is your name?', function(err, answer) {
// answer => user's answer
});
Ask stored questions
app.question('name', 'What is your name?');
app.ask('name', function(err, answer) {
// answer => user's answer
});
Automatically return saved answer
app.store.set('name', 'Jon');
app.ask('name', function(err, answer) {
// answer => 'Jon'
});
Force re-asking a question
app.store.set('name', 'Jon');
app.ask('name', {force: true}, function(err, answer) {
// answer => given answer
});
Also adds an ask helper that can lookup stored questions and answers.
Example
The following will prompt the user once:
{{ask "What is your name"}}
If an answer is given by the user, it will be stored and automatically used until the user asks again on a new project or forces the question to be re-asked.
toStream, which pushes a… more | homepageInstall dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on October 21, 2015.
FAQs
Assemble plugin for asking questions and storing answers.
We found that assemble-ask demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

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.