Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@metronlabs/rx-form-data
Advanced tools
Minimal, Reactive Form data handling
npm install --save @metronlabs/rx-form-data
Then with a module bundler like rollup or webpack, use as you would anything else:
// using ES6 modules
import RxFormData from "@metronlabs/rx-form-data";
// using CommonJS modules
const RxFormData = require("@metronlabs/rx-form-data");
The UMD build is also available on unpkg:
<script src="https://unpkg.com/@metronlabs/rx-form-data/lib/index.umd.js"></script>
You can find the library on window.RxFormData
.
import RxFormData from "@metronlabs/rx-form-data";
const { subscribe, dispatch, ACTION_TYPE } = RxFormData(
"some-form-id",
(formvalues, formdata) => {
console.log("ON SUBMIT HANDLER CALLED", formvalues, formdata);
return Promise.resolve([formvalues]);
}
);
const unsubscribe = subscribe((formvalues) => {
console.debug("FORM VALUES SUBSCRIBER", formvalues);
});
setTimeout(() => {
unsubscribe();
}, 2 * 60 * 1000);
setTimeout(() => {
dispatch(ACTION_TYPE.DESTROY);
}, 3 * 60 * 1000);
First off, thanks for taking the time to contribute! Now, take a moment to be sure your contributions make sense to everyone else.
Found a problem? Want a new feature? First of all see if your issue or idea has already been reported. If not, just open a new clear and descriptive issue.
Pull requests are the greatest contributions, so be sure they are focused in scope, and do avoid unrelated commits.
git clone https://github.com/<your-username>/@metronlabs/rx-form-data
cd @metronlabs/rx-form-data
git checkout -b features/my-new-feature
npm install
git commit -am 'Add some feature'
git push origin features/my-new-feature
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice aTd this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Framework agnostic reactive form data streaming
The npm package @metronlabs/rx-form-data receives a total of 1 weekly downloads. As such, @metronlabs/rx-form-data popularity was classified as not popular.
We found that @metronlabs/rx-form-data demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.