Gathering detailed insights and metrics for @juigorg/mollitia-sint
Gathering detailed insights and metrics for @juigorg/mollitia-sint
npm install @juigorg/mollitia-sint
Typescript
Module System
Node Version
NPM Version
60.1
Supply Chain
72.7
Quality
82.3
Maintenance
100
Vulnerability
99.6
License
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
25
Last Day
1
Last Week
2
Last Month
3
Last Year
25
Latest Version
1.1.10
Package Id
@juigorg/mollitia-sint@1.1.10
Unpacked Size
29.19 kB
Size
13.58 kB
File Count
44
NPM Version
10.5.2
Node Version
20.13.1
Published on
Jun 04, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
0%
2
Compared to previous week
Last Month
-40%
3
Compared to previous month
Last Year
0%
25
Compared to previous year
42
a library that takes two files as an input and finds any matching patterns of bytes between them (Can be very very slow)
1npm i -g @juigorg/mollitia-sint 2@juigorg/mollitia-sint ./test/sample-images/midjourney1.webp ./test/sample-images/midjourney2.webp --bytesToRead 9999 --minOccurance 4 --showProgress --ignoreAllZeroes true --ignoreAllOnes true --ignoreAllJustZeroesAndOnes true
Install
1npm i @juigorg/mollitia-sint --save
Usage
1const matchingBytes = require('@juigorg/mollitia-sint'); 2 3const data = await matchingBytes.findBytes( 4 './test/sample-images/midjourney1.webp', 5 'test/sample-images/midjourney2.webp', 6 /* Default options: */ 7 { 8 showProgress: false, 9 minOccurance: 4, 10 bytesToRead: 1200, // leave null if you want to read the full file 11 ignoreAllZeroes: true, // ignores patterns that are all 0's 12 ignoreAllOnes: true, // ignores patterns that are all 1's 13 ignoreAllJustZeroesAndOnes: true, // ignores patterns that are only 1's and 0's 14 } 15); 16// Looking for matching bytes (1200) in ./test/sample-images/midjourney1.webp and ./test/sample-images/midjourney1.webp... 17// ======================================== 100% 0.0s 18console.log(data); 19/* 20======================================== 100% 0.0s 21[ 22 { sequence: [ '52', '49', '46', '46' ], index1: 0, index2: 0 }, 23 { sequence: [45', '42', '50', '56', '50', '38', '4C'], index1: 9, index2: 9 }, 24 { sequence: [ '2E', '82', '8B', '0', '8D', '48' ], index1: 21, index2: 21 } 25] 26*/
In the example above, we see the first two sequence occurrances correspond to the WEBP magic number, but the third one seems to occur in all upscaled images from midjourney.
MIT
No vulnerabilities found.
No security vulnerabilities found.