Socket
Socket
Sign inDemoInstall

bfs-path

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bfs-path - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

.npmignore

16

package.json
{
"name": "bfs-path",
"version": "0.0.1",
"version": "0.1.0",
"description": "An emulation of Node's path module. Used in BrowserFS.",
"main": "index.js",
"main": "js/path.js",
"typings": "js/path",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepublish": "node prepublish.js"
},

@@ -18,6 +19,7 @@ "repository": {

},
"peerDependencies": {
"browserfs": "~0.4"
},
"homepage": "https://github.com/jvilk/bfs-path#readme"
"homepage": "https://github.com/jvilk/bfs-path#readme",
"devDependencies": {
"tsd": "^0.6.5",
"typescript": "^1.6.2"
}
}

@@ -1,7 +0,22 @@

# BrowserFS Path
# BrowserFS Path 0.1.0
> An emulation of NodeJS's `path` module. Used in [BrowserFS](https://github.com/jvilk/BrowserFS).
An emulation of NodeJS's Path module. Used in [BrowserFS](https://github.com/jvilk/BrowserFS).
## Features
Currently, this repository is a simple wrapper around functionality provided in the monolithic BrowserFS library.
* Compatible with NodeJS's `path` module.
* Passes all of Node's `path` unit tests! See [BrowserFS](https://github.com/jvilk/BrowserFS)'s repository for tests.
* Supports resolving paths relative to `.`!
* In conjunction with [bfs-process](https://github.com/jvilk/bfs-process) and [BrowserFS](https://github.com/jvilk/bfs-process).
In the future, the actual source code of BrowserFS's Path implementation will be moved here.
## Using with Browserify
You can use `bfs-path` in Browserify! Here's the relevant configuration snippet:
```{js}
{
builtins:
{
"path": require.resolve("bfs-path")
}
}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc