Been doing a lot of super small projects to get used with Web Developing (still learning) that need some testing, so feel free to contribute or pinpoint any issues!
The library consists of a component that instantiates an invisible reCAPTCHA and provides some functions for performing validation actions. The component is declared as:
importRecaptchafrom'react-google-invisible-recaptcha'let recaptcha =null; //Stores a reference to the API functions<Recaptcha
onInstanceCreated={instance=> recaptcha = instance}
sitekey={ <sitekey> }
onResolved={ () =>console.log( 'Ah, I see you are human' ) } />
Configuration
The component accepts the following props:
sitekey: sitekey for your reCAPTCHA. Required.
onResolved: callback function when the reCAPTCHA is resolved. Required.
Optional props that you can add to tweak the component.
locale: the language of the reCAPTCHA. Default: en.
badge: bottomright, bottomleft, or inline. Where the visual…
Simple Fetch interface http decorator wrapper for your functions.
HTTP Fetch Decorator
Simple Fetch interface decorator wrapper for your functions.
$ npm install http-fetch-decorator
Signature
Then you can place the decorator which has the same input structure as the fetch function. The parameters of the request or the data to send as a body are passed via arguments to the wrapped function, and the result and error objects are available as parameters of the function as well:
Also a few days ago I did this silly application that generates random KEXP/Boiler Room videos in React/Typescript/Parcel. Any contribution for improvement/bugs/features would be welcome :)
This application generates a random KEXP Performance / Boiler Room Session Youtube Video. Discover new music! 🎵
Developed using React + Typescript + Parcel.
Build: npm run build, results are stored on the dist folder
Open the development server on localhost:4200 : npm run dev
Been doing a lot of super small projects to get used with Web Developing (still learning) that need some testing, so feel free to contribute or pinpoint any issues!
aalises / hyperapp-google-invisible-recaptcha
A Hyperapp component that implements the Google invisible reCAPTCHA.
hyperapp-google-invisible-recaptcha
A Hyperapp component that implements the Google Invisible reCAPTCHA.
Demo
Install
Usage
The library consists of a component that instantiates an invisible reCAPTCHA and provides some functions for performing validation actions. The component is declared as:
Configuration
The component accepts the following props:
Optional props that you can add to tweak the component.
bottomright
,bottomleft
, orinline
. Where the visual…aalises / http-fetch-decorator
Simple Fetch interface http decorator wrapper for your functions.
HTTP Fetch Decorator
Simple Fetch interface decorator wrapper for your functions.
$ npm install http-fetch-decorator
Signature
Then you can place the decorator which has the same input structure as the fetch function. The parameters of the request or the data to send as a body are passed via arguments to the wrapped function, and the result and error objects are available as parameters of the function as well:
How to use it
Also a few days ago I did this silly application that generates random KEXP/Boiler Room videos in React/Typescript/Parcel. Any contribution for improvement/bugs/features would be welcome :)
aalises / random-kexp-boiler-room
Application that generates a random KEXP Performance / Boiler Room Youtube Video.
Random KEXP / Boiler Room Session
This application generates a random KEXP Performance / Boiler Room Session Youtube Video. Discover new music!🎵
Developed using React + Typescript + Parcel.
npm run build
, results are stored on thedist
folderlocalhost:4200
:npm run dev
You need to provide the Youtube API_KEY which you can obtain from the Google Developers page.