Gathering detailed insights and metrics for formik-persist
Gathering detailed insights and metrics for formik-persist
Gathering detailed insights and metrics for formik-persist
Gathering detailed insights and metrics for formik-persist
npm install formik-persist
Typescript
Module System
Node Version
NPM Version
TypeScript (73.44%)
JavaScript (26.56%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
378 Stars
15 Commits
56 Forks
6 Watchers
2 Branches
4 Contributors
Updated on May 04, 2025
Latest Version
1.1.0
Package Id
formik-persist@1.1.0
Size
33.70 kB
NPM Version
6.1.0
Node Version
8.9.3
Published on
Jul 30, 2018
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
28
Persist and rehydrate a Formik form.
npm install formik-persist --save
Just import the <Persist >
component and put it inside any Formik form. It renders null
!
1import React from 'react' 2import { Formik, Field, Form } from 'formik' 3import { Persist } from 'formik-persist' 4 5export const Signup = () => 6 <div> 7 <h1>My Cool Persisted Form</h1> 8 <Formik 9 onSubmit={values => console.log(values)} 10 initialValues={{ firstName: '', lastName: '', email: '' }} 11 render={props => 12 <Form className="whatever"> 13 <Field name="firstName" placeholder="First Name" /> 14 <Field name="lastName" placeholder="Last Name" /> 15 <Field name="email" type="email" placeholder="Email Address" /> 16 <button type="submit">Submit</button> 17 <Persist name="signup-form" /> 18 </Form>} 19 /> 20 </div>;
Only two props!
name: string
: LocalStorage key to save form state todebounce:? number
: Default is 300
. Number of ms to debounce the function that saves form state.No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/12 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
60 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More