Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
age-gender-recognition
Advanced tools
A JS library that detects the age and gender of a face image
This a Node.js package that utilizes the FacialAge API to determine the gender and approximate age of a person's face from an image.
You can install the package via npm:
npm install age-gender-recognition
To use this package, follow these steps:
const genderage = require('age-gender-recognition');
genderage
function with the ImageStream you want to analyze:const imagestream = fs.createReadStream('your-image.jpg');
genderage(imagestream)
.then(result => {
console.log('Gender:', result.gender);
console.log('Age:', result.age);
})
.catch(error => {
console.error('Error:', error.message);
});
Replace 'your-image.jpg'
with the image you want to analyze.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A JS library that detects the age and gender of a face image
The npm package age-gender-recognition receives a total of 1 weekly downloads. As such, age-gender-recognition popularity was classified as not popular.
We found that age-gender-recognition 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.