![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@type-ddd/password
Advanced tools
Library that provides TypeScript type definitions for handling Password in Domain-Driven Design contexts. It facilitates the validation and manipulation of passwords.
@type-ddd/password
The @type-ddd/password module provides a class Password for handling password in TypeScript. It includes methods for validating password, encrypt and compare.
Install rich-domain
, @type-ddd/password
and bcrypt
with your favorite package manager:
npm i rich-domain @type-ddd/password bcrypt
#OR
yarn add rich-domain @type-ddd/password bcrypt
import { Password } from '@type-ddd/password';
// Initialize Password instance with a valid value
const password = Password.init('Y8237FNB@');
// OR
// Create Password instance from provided value
const result = Password.create('Y8237FNB@');
// Or create a strong password
const pass = Password.random();
You may compare password with plain text to check if is equal
const password = Password.init('#$89ABC_v');
// check if password is encrypted
password.isEncrypted();
// false
const encrypted = password.encrypt();
// compare
encrypted.compare('#$89ABC_v');
// true
FAQs
Library that provides TypeScript type definitions for handling Password in Domain-Driven Design contexts. It facilitates the validation and manipulation of passwords.
The npm package @type-ddd/password receives a total of 126 weekly downloads. As such, @type-ddd/password popularity was classified as not popular.
We found that @type-ddd/password demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.