Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
files-extractor
Advanced tools
Extract files that have changed between the specified date.
Notice: if want use command line must install with
npm i -g files-extractor
>fextract -h
Usage: fextract [options]
Extract files that have changed between the specified date.
Options:
-V, --version output the version number
-d, --dot extract dot files
-f, --files <files> set the files of extract
-o, --output <path> set the output dir of extract
-s, --start <date> set the start date of extract
-e, --end <date> set the end date of extract
-t, --types <type,...> set the filter types[mtime, ctime, atime, birthtime] of extract
-h, --help output usage information
Documentation can be found at https://github.com/nuintun/files-extractor#readme.
files: # pattern to search for files (see: node-glob)
"**/*"
output: # output dir of extract
.extract
start: # filter start date of extract
2017/9/19
end: # filter end date of extract
2017/9/20
type: # filter type of extract, one or more of [mtime, ctime, atime, birthtime]
mtime
dot: # include dot files (see: node-glob)
false
ignore: # pattern for exclude search (see: node-glob)
- node_modules/**/*
'use strict';
const extractor = require('files-extractor');
const STATUS = extractor.STATUS;
// Returned a child process
const worker = extractor(options);
// Listen message event
worker.on('message', function(message) {
switch (message.status) {
case STATUS.BOOTSTRAP:
// Bootstrap
break;
case STATUS.SEARCHING:
// Searching
break;
case STATUS.SEARCHED:
// Searched
break;
case STATUS.FILTERING:
// Filtering
break;
case STATUS.FILTERED:
// Filtered
break;
case STATUS.EXTRACTING:
// Extracting
break;
case STATUS.EXTRACTED:
// Extracted
break;
case STATUS.WARNING:
// Warning
break;
case STATUS.FAILED:
// Failed (child process will automatic exit)
break;
}
});
FAQs
Extract files that have changed between the specified date.
The npm package files-extractor receives a total of 10 weekly downloads. As such, files-extractor popularity was classified as not popular.
We found that files-extractor demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.