Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Node package to fetch all paths in the working directory.
Also accepts a sub-directory path and returns all paths within.
Ready to use out of the box.
$ npm install list-paths
const listPaths = require('list-paths')
const dir = listPaths() // [ './', './public', './src', './src/helpers', 'etc...' ]
const listPaths = require('list-paths')
const dir = listPaths('./src') // [ './src', './src/helpers', 'etc...' ]
listPaths
accepts 2 parameters, path
& an options object
.
listPaths(path, { ignoreNodeModules, ignoreGit, useGitIgnore, includeFiles }) => {string[]}
Parameter | Type | Default | Description |
---|---|---|---|
path | string | "." | The directory path to searched. |
ignoreNodeModules | boolean | true | If true, ignores 'node_modules' folder. |
ignoreGit | boolean | true | If true, ignores '.git' folder. |
useGitIgnore | boolean | true | If true, ignores paths in '.gitignore'. |
includeFiles | boolean | false | If true, includes file paths. |
Tim Dunphy
This project is licensed under the MIT License - see the LICENSE.md file for details.
FAQs
Fetch all paths in the working directory.
The npm package list-paths receives a total of 916 weekly downloads. As such, list-paths popularity was classified as not popular.
We found that list-paths 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.