Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@felte/element
Advanced tools
Readme
Felte is an extensible form library originally bult for Svelte. This package aims to provide Felte's functionality using a custom element. Felte, on its most simple form, only requires you to provide a <form>
element to it in order to work.
WARNING: This package is under development, things might break on updates and documentation is almost non-existent besides this README.
name
attribute is necessary).reporter
packages.Using Svelte as an example:
<script type="module">
import '@felte/element/felte-form';
const felteForm = document.querySelector('felte-form');
felteForm.configuration = {
onSubmit: async (values) => {
/* call to an api */
},
};
</script>
<felte-form>
<form>
<input type="text" name="email" />
<input type="password" name="password" />
<input type="submit" value="Sign in" />
</form>
</felte-form>
npm install --save @felte/element
# Or if you use yarn
yarn add @felte/element
To learn more about how to use felte
to handle your forms, check the official documentation.
This package should work nicely with any framework. Specially if you're using the prepareForm
method of creating your form. It also works really nice with frameworks that set attributes as properties or frameworks that provide syntax to set values to properties of elements instead of attributes.
FAQs
An extensible form library that can be used as a custom element
The npm package @felte/element receives a total of 215 weekly downloads. As such, @felte/element popularity was classified as not popular.
We found that @felte/element demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.