@osjs/example-provider

1.0.3 • Public • Published

OS.js Logo

OS.js is an open-source web desktop platform with a window manager, application APIs, GUI toolkit, filesystem abstractions and much more.

Support Support Donate Donate Community

OS.js Example Service Provider

This is the Example Service Provdider for OS.js

Installation

npm install @osjs/example-provider

Usage

In you startup procedure, simply import and register:

Note: This example is written using ESM. Node does not support this out of the box, so assume this is a client scipt.

import {ExampleServiceProvider} from '@osjs/example-provider'; // You want your package name here

// ...

osjs.register(ExampleServiceProvider)

// ...

Then you can use core.make('example/instance') or core.make('example/singleton') (as provided by this example).

Contribution

Documentation

See the Official Manuals for articles, tutorials and guides.

Links

Readme

Keywords

Package Sidebar

Install

npm i @osjs/example-provider

Weekly Downloads

0

Version

1.0.3

License

BSD-2-Clause

Unpacked Size

8.72 kB

Total Files

5

Last publish

Collaborators

  • andersevenrud