Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
atropa-formdata-generator
Advanced tools
Generates a function to produce FormData objects based on a given HTML form.
#atropa-formdata-generator
Generates a function to produce FormData objects based on a given HTML form.
You can try this in your browser at [try it.html] (http://matthewkastor.github.io/atropa-formdata-generator/try%20it.html)
You can download it from github at [https://github.com/matthewkastor/atropa-formdata-generator] (https://github.com/matthewkastor/atropa-formdata-generator) or, if you have node installed you can get it from npm
npm install atropa-formdata-generator
Using this module in your browser is as simple as including it in your page. See [example.html] (http://matthewkastor.github.io/atropa-formdata-generator/example.html) in the root directory of this package.
// include atropa-formdata-generator.js in your page.
// generate a function that accepts a single options object.
var takesOptions = formdataGenerator(
document.forms[0], // the form to process
'myFormDataFunction', // the name for your generated function
true // whether to use a single options arg, or to use many named args.
);
// generate a function that takes named parameters.
var takesNames = formdataGenerator(
document.forms[0],
'myFormDataFunction'
);
console.log(takesOptions);
Documentation is in the docs/jsdoc folder. Visual Studio intellisense files are in docs/vsdocs
FAQs
Generates a function to produce FormData objects based on a given HTML form.
The npm package atropa-formdata-generator receives a total of 2 weekly downloads. As such, atropa-formdata-generator popularity was classified as not popular.
We found that atropa-formdata-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.