@cowprotocol/cow-sdk
Version:
<p align="center"> <img width="400" src="https://github.com/cowprotocol/cow-sdk/raw/main/docs/images/CoW.png" /> </p>
44 lines (22 loc) • 610 B
Markdown
Node.js: path-extra
===================
This module simply modifies the Node.js 'path' object with extra methods. It is a drop in replacement for the `path` module.
Installation
------------
$ npm install path-extra
Usage
-----
```javascript
var path = require('path-extra');
```
You can still use all of the vanilla Node.js path methods.
Methods:
```javascript
path.tempdir() //returns a temporary directory that is operating system specific.
path.homedir() //return the user's home directory
path.datadir()
```
License
-------
(The MIT License)
Copyright (c) 2011-2015 JP Richardson