https://github.com/mehcode/atom-project-util
https://github.com/mehcode/atom-project-util
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mehcode/atom-project-util
- Owner: mehcode
- License: mit
- Created: 2016-03-26T00:59:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-27T17:23:05.000Z (about 8 years ago)
- Last Synced: 2025-04-11T00:02:33.582Z (11 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Atom Project Util
Atom library that provides project utilities. Primarily switching in the same window. This is its own library
because there are a number of nuances that would better serve the community
to be addressed in a single location (and then each package that
would like the functionality can just use this library).
## Install
```
npm install --save atom-project-util
```
## Usage
```js
const util = require("atom-project-util")
// Switch to a project with path1 and path2 as the opened paths
util.switch(["path1", "path2"])
// Close project
util.close()
```
## License
[MIT License](http://opensource.org/licenses/MIT) - see the [LICENSE](https://github.com/mehcode/atom-project-switch/blob/master/LICENSE.md) for more details.