An open API service indexing awesome lists of open source software.

https://github.com/fega/g-forms-simplify

Simplify the google forms markup to easily embed it in a webpage with your own style.
https://github.com/fega/g-forms-simplify

Last synced: 7 months ago
JSON representation

Simplify the google forms markup to easily embed it in a webpage with your own style.

Awesome Lists containing this project

README

          

# g-forms-simplify [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
>

Simplify the google forms markup to easily embed it in a webpage with your own style.

#### Currently supports
* text input
* email input
* number input
* textarea
* personalized thanks page

## install

`$ npm install -g g-forms-simplify`

## CLI Usage

### input:
```bash
$ g-forms -f "1FAIpQLSfKcGSBRWFEkhkZRMqDH9aFCIgsGR1a0R3LkZFA6ssNPx5tpw"
```
### output:
```html


Tu direcci�n de correo electr�nico



Texto



Parrafo












```
### CLI options

#### '-f, --form (URL || ID)'
the url to be simplified.

#### '-d --destiny (URL)'
The page that is displayed after submit the form

## as Module
```javascript
var gForms = require('g-forms-simplify')

var myForm = gForms('idOrUrl', options)
/**
* currently options could contain:
* {
* destiny: "destinyUrl"
* }
*/
```
## License

MIT © [Fabian Gutierrez](http://fabiangutierrez.co)

[npm-image]: https://badge.fury.io/js/g-forms-simplify.svg
[npm-url]: https://npmjs.org/package/g-forms-simplify
[travis-image]: https://travis-ci.org/fega/g-forms-simplify.svg?branch=master
[travis-url]: https://travis-ci.org/fega/g-forms-simplify
[daviddm-image]: https://david-dm.org/fega/g-forms-simplify.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/fega/g-forms-simplify
[coveralls-image]: https://coveralls.io/repos/fega/g-forms-simplify/badge.svg
[coveralls-url]: https://coveralls.io/r/fega/g-forms-simplify