# sublime

> an npm module for interfacing with Sublime Text

Latest version **1.2.1** (published 2015-07-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install sublime
pnpm add sublime
yarn add sublime
bun add sublime
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2015-07-27 |
| First published | 2015-07-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Stephen Rodriguez |
| Maintainers | stephn_r |
| Keywords | sublime, text, plugin, plugins, settings |

## Links

- npm: https://www.npmjs.com/package/sublime
- Repository: https://github.com/Stephn-R/sublime
- Issues: https://github.com/Stephn-R/sublime/issues
- npm.io page: https://npm.io/package/sublime

## Dependencies (1)

- [whoami-exec](https://npm.io/package/whoami-exec.md) ^1.2.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.2.1 (latest) — 2015-07-27
- 1.2.0 — 2015-07-27
- 1.1.0 — 2015-07-20

## README

# sublime
npm module for interfacing with Sublime Text plugins and settings

### Installation:

    npm install --save sublime

### Methods:

1. **Fetch Installed Plugins Folders**

Returns an object containing arrays of absolute paths for each plugin installed for each detected Sublime App

```js
var Sublime = require('sublime');

var plugins = Sublime.plugins();

console.log(plugins);
```

Output

```json
{
	"Sublime Text 2": [ ... ],
	"Sublime Text 3": [ ... ]
}
```

2. **Fetch Custom User Settings for Plugins/etc**

Returns an object containing arrays of absolute paths for each settings file found in the User folder

```js
var Sublime = require('sublime');

var settings_files = Sublime.getUserSettingsFiles();

console.log(settings_files);
```

Output

```json
{
	"Sublime Text 2": [ ... ],
	"Sublime Text 3": [ ... ]
}
```

---
_Source: https://npm.io/package/sublime · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
