# @devpodio/core

> Theia is a cloud & desktop IDE framework implemented in TypeScript.

Latest version **0.6.3** (published 2020-02-14) · EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 license · 0 weekly downloads

## Install

```sh
npm install @devpodio/core
pnpm add @devpodio/core
yarn add @devpodio/core
bun add @devpodio/core
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.6.3 |
| Published | 2020-02-14 |
| First published | 2018-11-17 |
| Weekly downloads | 0 |
| License | EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 39 |
| Unpacked size | 4.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | devpodnpm, unibtc |
| Keywords | theia-extension |

## Links

- npm: https://www.npmjs.com/package/@devpodio/core
- Repository: https://github.com/devpodio/devpodio
- Issues: https://github.com/devpodio/devpodio/issues
- npm.io page: https://npm.io/package/@devpodio/core

## Dependencies (39)

- [ws](https://npm.io/package/ws.md) ^5.2.2
- [ajv](https://npm.io/package/ajv.md) ^6.10.0
- [cors](https://npm.io/package/cors.md) ^2.8.5
- [nsfw](https://npm.io/package/nsfw.md) ^1.2.2
- [fuzzy](https://npm.io/package/fuzzy.md) ^0.1.3
- [react](https://npm.io/package/react.md) ^16.4.1
- [tldjs](https://npm.io/package/tldjs.md) ^2.3.1
- [yargs](https://npm.io/package/yargs.md) ^11.1.0
- [express](https://npm.io/package/express.md) ^4.16.3
- [fs-extra](https://npm.io/package/fs-extra.md) ^4.0.2
- [@types/ws](https://npm.io/package/@types/ws.md) ^5.1.2
- [inversify](https://npm.io/package/inversify.md) ^5.0.1
- [react-dom](https://npm.io/package/react-dom.md) ^16.4.1
- [vscode-uri](https://npm.io/package/vscode-uri.md) ^1.0.1
- [body-parser](https://npm.io/package/body-parser.md) ^1.17.2
- [es6-promise](https://npm.io/package/es6-promise.md) ^4.2.4
- [@types/react](https://npm.io/package/@types/react.md) ^16.4.1
- [@types/yargs](https://npm.io/package/@types/yargs.md) ^11.1.0
- [font-awesome](https://npm.io/package/font-awesome.md) ^4.7.0
- [route-parser](https://npm.io/package/route-parser.md) ^0.0.5
- [@types/bunyan](https://npm.io/package/@types/bunyan.md) ^1.8.0
- [file-icons-js](https://npm.io/package/file-icons-js.md) ^1.0.3
- [@types/express](https://npm.io/package/@types/express.md) ^4.16.0
- [lodash.debounce](https://npm.io/package/lodash.debounce.md) ^4.0.8
- [lodash.throttle](https://npm.io/package/lodash.throttle.md) ^4.1.1
- [@types/react-dom](https://npm.io/package/@types/react-dom.md) ^16.0.6
- [reflect-metadata](https://npm.io/package/reflect-metadata.md) ^0.1.10
- [@phosphor/widgets](https://npm.io/package/@phosphor/widgets.md) ^1.5.0
- [react-virtualized](https://npm.io/package/react-virtualized.md) ^9.20.0
- [vscode-ws-jsonrpc](https://npm.io/package/vscode-ws-jsonrpc.md) ^0.0.2-1
- [@types/body-parser](https://npm.io/package/@types/body-parser.md) ^1.16.4
- [@types/route-parser](https://npm.io/package/@types/route-parser.md) ^0.1.1
- [@types/lodash.debounce](https://npm.io/package/@types/lodash.debounce.md) 4.0.3
- [@types/lodash.throttle](https://npm.io/package/@types/lodash.throttle.md) ^4.1.3
- [reconnecting-websocket](https://npm.io/package/reconnecting-websocket.md) ^3.0.7
- [@types/react-virtualized](https://npm.io/package/@types/react-virtualized.md) ^9.18.3
- [@devpodio/perfect-scrollbar](https://npm.io/package/@devpodio/perfect-scrollbar.md) ^1.5.1
- [vscode-languageserver-types](https://npm.io/package/vscode-languageserver-types.md) ^3.10.0
- [@devpodio/application-package](https://npm.io/package/@devpodio/application-package.md) ^0.6.3

## Recent versions

- 0.6.3 (latest) — 2020-02-14
- 0.6.2 — 2020-02-14
- 0.6.1 — 2020-02-13
- 0.6.0 — 2020-02-13
- 0.5.3 — 2019-11-19
- 0.5.2 — 2019-04-22
- 0.5.1 — 2019-04-20
- 0.5.0 — 2019-04-02
- 0.4.4 — 2019-03-26
- 0.4.3 — 2019-03-26
- 0.4.2 — 2019-03-22
- 0.4.1 — 2019-03-22
- 0.4.0-latest.4 — 2019-03-21
- 0.4.0-latest.3 — 2019-03-19
- 0.4.0-latest.2 — 2019-03-19
- … 6 more at https://npm.io/package/@devpodio/core/versions

## README

# Theia - Core extension

See [here](https://www.theia-ide.org/doc/index.html) for a detailed documentation.

## Theia Extension

A Theia extension is a node package declaring `theiaExtensions` property in `package.json`:

```json
{
  "theiaExtensions": [{
      "frontend": "lib/myExtension/browser/myextension-frontend-module",
      "backend": "lib/myExtension/node/myextension-backend-module",
    }, {
      "frontend": "lib/myExtension2/browser/myextension2-browser-module",
      "frontendElectron": "lib/myExtension2/electron-browser/myextension2-electron-browser-module",
      "backend": "lib/myExtension2/node/myextension2-node-module",
      "backendElectron": "lib/myExtension2/electron-main/myextension2-electron-main-module"
  }]
}
```

Each extension can consist of the following modules:
- `frontend` is used in the browser env and as well in the electron if `frontendElectron` is not provided
- `frontendElectron` is used in the electron env
- `backend` is used in the node env and as well in the electron env if `backendElectron` is not provided
- `backendElectron` is used in the electron env

An extension module should have a default export of `ContainerModule | Promise<ContainerModule>` type.

## Theia Application

A Theia application is a node package listing [Theia extensions](#theia-extension) as dependencies and managed with [Theia CLI](../../dev-packages/cli/README.md).

## Logging configuration

It's possible to change the log level for the entire Theia application by
passing it the `--log-level={fatal,error,warn,info,debug,trace}` option.  For
more fine-grained adjustment, it's also possible to set the log level per
logger (i.e. per topic).  The `root` logger is a special catch-all logger
through which go all messages not sent through a particular logger.  To change
the log level of particular loggers, create a config file such as

```json
{
  "defaultLevel": "info",
  "levels": {
    "terminal": "debug",
    "task": "error"
  }
}
```

where `levels` contains the logger-to-log-level mapping.  `defaultLevel`
contains the log level to use for loggers not specified in `levels`.  This file
can then be specified using the `--log-config` option.  Theia will watch that
file for changes, so it's possible to change log levels at runtime by
modifying this file.

It's unfortunately currently not possible to query Theia for the list of
existing loggers.  However, each log message specifies from which logger it
comes from, which can give an idea, without having to read the code:

```
root INFO [nsfw-watcher: 10734] Started watching: /Users/captain.future/git/theia/CONTRIBUTING.md
^^^^ ^^^^  ^^^^^^^^^^^^^^^^^^^
```
Where `root` is the name of the logger and `INFO` is the log level. These are optionally followed by the name of a child process and the process ID.

## License
- [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)
- [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)

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