
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
@parallaxagency/file-modified
Advanced tools
file-modified (terrible name) compares two directories against each other and outputs a list of files that are missing or modified in the destination directory.
To install file-modified in a project:
yarn add @parallaxagency/file-modified
Then import it:
import compare from '@parallaxagency/file-modified'
And use it:
import compare from '@parallaxagency/file-modified'
main()
async function main () {
let files = await compare('./src', './dist')
console.log(files)
// returns:
// {
// src: './src',
// dest: './dist',
// updated: [ 'src/entry.js' ],
// missing: [ 'src/entry.js' ],
// files: [ 'src/entry.js' ]
// }
}
To compile JS with babel and watch for changes:
npm run dev
To make a release version:
npm run transpile
To run linters:
npm run lint
It's unlikely you will even have to run the last two commands as they are automatically run when publishing a new version or committing changes.
FAQs
Detect changed/missing files
The npm package @parallaxagency/file-modified receives a total of 3 weekly downloads. As such, @parallaxagency/file-modified popularity was classified as not popular.
We found that @parallaxagency/file-modified 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.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.