-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
Milestone
Description
I'd like to create a react component with this plugin, but without copy-pasting the logic between both components.
For that reason I'd like to split the main logic of the password-strength-meter and make that logic a dependency (in both bower and npm) of this current package.
I'm not really sure how to achieve this, so if anyone reads it and has any idea, I'm glad to read them and listen to your requests.
What I've been thinking so far:
- Get off all the calculation logic, and try to add new features to it, like being able to configure how to score system works (min characters, required characters, etc)
- Find out how the hell a jQuery plugin can use that npm package as its main logic. I'm not really sure if this can be achieved easily packaging the npm core in a specific way or, otherwise, we'll need to package that core while packing the jquery plugin
- Instead of reusing this package from version 3.0.0, which would be a PITA for many people, I'll probably create an npm namespace specific for the project. BTW version 2.0.0 will still be used as a big warning for users to move to the new one.
Reactions are currently unavailable