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.
factorial-form
Advanced tools
Minimal library for dealing with form state.
npm install factorial-form --save
yarn add factorial-form
import { Form } from 'factorial-form'
const attributes = {
name: 'paco',
salary: 18000,
created_at: 1497521766937,
metadata: {
friends: 12
}
}
const schema = {
name: 'string',
salary: 'cents',
age: 'timestamp',
metadata: {
friends: 'number'
}
}
const form = new Form(attributes, schema)
const field = form.get('name')
field.value // => 'paco'
form.isDirty // => false
field.set('pepe')
field.value // => 'pepe'
field.isDirty // => true
form.isDirty // => true
Developed and battle tested in production in Factorial
2.1.0
reset
and resetAll
methodsFAQs
Factorial form library
The npm package factorial-form receives a total of 209 weekly downloads. As such, factorial-form popularity was classified as not popular.
We found that factorial-form demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
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.