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.
- Host: GitHub
- URL: https://github.com/fega/g-forms-simplify
- Owner: fega
- License: mit
- Created: 2016-11-14T15:37:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T14:30:22.000Z (almost 9 years ago)
- Last Synced: 2025-05-29T13:25:52.528Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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