1.0.0 • Published 4 years ago

google-form-prompt v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Get Google Forms as a prompt in terminal

This is a CLI based Google form, for scraping the questions in Command Line.

Installation

Use the package manager yarn to install packages to run Google Forms.

yarn install

Usage

node index.js <google-form-id>

Example

const GoogleFormPrompt = require('./index.js');

const prompt = new GoogleFormPrompt({
    name: "Google Form",
    message: "Please provide the information:",
    form_id: process.argv[2],
});

prompt.run()
.then(res => console.log(res))
.catch(err => console.log(err));

More Examples can be found at Link

This will fetch all the questions from the google form and will display as prompt.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT