
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@vscode-utility/fs-browserify
Advanced tools
When developing vscode extensions, it is essential to ensure compatibility between the desktop and web versions of vscode (https://vscode.dev or https://github.dev).
Using @vscode-utility/fs-browserify
, you can access and manipulate files stored locally or remotely, making it easier to develop vscode extensions that work seamlessly on both the desktop and web versions of vscode.
If you find this package useful for your projects, please consider supporting me by Buy Me a Coffee. It's a great way to help me maintain and improve this package in the future. Your support is truly appreciated!
npm
npm install @vscode-utility/fs-browserify
yarn
yarn add @vscode-utility/fs-browserify
pnpm
pnpm add @vscode-utility/fs-browserify
import { fs } from '@vscode-utility/fs-browserify';
const fileStat = await fs.statAsync(path);
console.log(fileStat);
const fileContent = await fs.readFileAsync(path);
console.log(fileContent);
@vscode-utility/fs-browserify | fs (nodejs) |
---|---|
fs.statAsync() | fs.stat() |
fs.readDirectoryAsync() | fs.readDir() |
fs.createDirectoryAsync() | fs.mkdir() |
fs.readFileAsync() | fs.readFile() |
fs.appendFileAsync() | fs.appendFile() |
fs.writeFileAsync() | fs.writeFile() |
fs.deleteAsync() | fs.rmdir() |
fs.renameAsync() | fs.rename() |
fs.copyAsync() | fs.cp() |
fs.existAsync() | fs.exist() |
fs.truncateAsync() | fs.truncate() |
If you discover a bug, or have a suggestion for a feature request, please submit an issue.
This extension is licensed under the MIT License
1.0.2
FAQs
The `fs` module compatible for VS Code Web Extensions
The npm package @vscode-utility/fs-browserify receives a total of 28 weekly downloads. As such, @vscode-utility/fs-browserify popularity was classified as not popular.
We found that @vscode-utility/fs-browserify demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.