Gathering detailed insights and metrics for @teidesu/anitomy-js
As of June 2024, the npm registry hosts over 2 million packages, making it one of the largest open-source software repositories in the world.
Gathering detailed insights and metrics for @teidesu/anitomy-js
As of June 2024, the npm registry hosts over 2 million packages, making it one of the largest open-source software repositories in the world.
npm install @teidesu/anitomy-js
65.3
Supply Chain
98.6
Quality
75.5
Maintenance
100
Vulnerability
80.9
License
26 Stars
189 Commits
4 Forks
1 Watching
4 Branches
3 Contributors
Updated on 16 Aug 2024
C++ (47.08%)
JavaScript (45.01%)
Python (7.91%)
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
2
Compared to previous week
Last month
-61.5%
5
Compared to previous month
Last year
-49.2%
93
Compared to previous year
anitomy-js is a Node.js wrapper for Anitomy - a C++ library for parsing anime video filenames.
With npm do:
npm install anitomy-js
anitomy-js builds it's dependencies upon installation. Please refer to the node-gyp documentation if you're having problems with the build.
Starting with version 1.0 the minimum supported Node version is 0.12
Starting with version 2.0, anitomy-js requires C++ 14 and at least Node 4:
If you can't update your build tools, all versions from 1.x are compatible with C++ 11.
Starting with version 3.0 the old callback style with a single argument is deprecated. You should switch to either use the Promise API or a node style callback (err, data). The minimum supported Node version is 6.
4.x is a complete rewrite from scratch and requires at least Node 8. The old callback style API was completely removed and now the async methods (parse and parseAsync) exposes only the Promise API.
On version 5.x, anitomy-js switched from using NAN, to the newer NAPI. With this change, all context-related issues should be fixed.
anitomy-js provides two methods: parse
and parseSync
.
Both methods accept single filename input or an array of filenames for batch parsing.
Additionally you can pass an object as the last parameter to change Anitomy's original parsing options. The options are:
allowed_delimiters
- defaults to " _.&+,|"
ignored_strings
- defaults to []
parse_episode_number
- defaults to true
parse_episode_title
- defaults to true
parse_file_extension
- defaults to true
parse_release_group
- defaults to true
1var anitomy = require('anitomy-js') 2anitomy 3 .parse('[tlacatlc6] Natsume Yuujinchou Shi Vol. 1v2 & Vol. 2 (BD 1280x720 x264 AAC)') 4 .then((data) => console.log(data))
... would be parsed into
1{ 2 "anime_title": "Natsume Yuujinchou Shi", 3 "audio_term": "AAC", 4 "file_name": "[tlacatlc6] Natsume Yuujinchou Shi Vol. 1v2 & Vol. 2 (BD 1280x720 x264 AAC)", 5 "release_group": "tlacatlc6", 6 "release_version": "2", 7 "source": "BD", 8 "video_term": "x264", 9 "video_resolution": "1280x720", 10 "volume_number": ["1", "2"] 11}
1var anitomy = require('anitomy-js') 2var filenames = [ 3 '[DmonHiro] Magi - The Labyrinth Of Magic - Vol.1v2 (BD, 720p)', 4 '[KLF]_D.Gray-man_04V2.avi', 5] 6console.log(anitomy.parseSync(filenames))
... would be parsed into
1[ 2 { 3 "anime_title": "Magi - The Labyrinth Of Magic", 4 "file_name": "[DmonHiro] Magi - The Labyrinth Of Magic - Vol.1v2 (BD, 720p)", 5 "release_group": "DmonHiro", 6 "release_version": "2", 7 "source": "BD", 8 "video_resolution": "720p", 9 "volume_number": "1" 10 }, 11 { 12 "anime_title": "D.Gray-man", 13 "episode_number": "04", 14 "file_extension": "avi", 15 "file_name": "[KLF]_D.Gray-man_04V2", 16 "release_group": "KLF", 17 "release_version": "2" 18 } 19]
Licensed under the incredibly permissive MIT license
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
6 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 1/14 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
Score
Last Scanned on 2024-11-18
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