question-generator
v0.0.3
Published
Package to generate interview style questions
Downloads
17
Readme
question-generator
Package to generate question for specific scenarios style questions
Usage
import QuestionGenerator from "question-generator";
Installation
Install via yarn
yarn add question-generator (--dev)
or npm
npm install question-generator (--save-dev)
Examples
Interview questions
import { interview } from "question-generator";
const question = interview(turtles);
console.log(question);
//Have you ever shown interest in turtles?
Builds
question-generator
is compiled as a collection of CommonJS modules & [ES2015 modules](http://www.2ality.com/2014/0
-9/es6-modules-final.html) for bundlers that support the jsnext:main
or module
field in package.json (Rollup, Webpack 2)
The question-generator
package includes precompiled production and development UMD builds in the dist/umd
folder. They can be used directly without a bundler and are thus compatible with many popular JavaScript module loaders and environments. You can drop a UMD build as a <script>
tag on your page. The UMD builds make question-generator
available as a window.questionGenerator
global variable.
License
The code is available under the MIT license.
Contributing
We are open to contributions, see CONTRIBUTING.md for more info.
Misc
This module was created using generator-module-boilerplate.