Skip to content

Commit

Permalink
chore: Remove Deno build
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Dec 2, 2022
1 parent 31f9a12 commit 101963d
Show file tree
Hide file tree
Showing 21 changed files with 1 addition and 1,982 deletions.
22 changes: 0 additions & 22 deletions deno/LICENSE

This file was deleted.

37 changes: 1 addition & 36 deletions deno/README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
<img style="width: 100%; max-width: 400px;" src="http://feathersjs.com/img/feathers-logo-wide.png" alt="Feathers logo">

## A framework for real-time applications and REST APIs with Deno

This folder contains the Deno build of Feathers.

## Use with Deno

```ts
// app.ts
import { feathers } from 'https://deno.land/x/feathers@v5.0.0-pre.3/mod.ts';

type Message = {
message: string;
}

class MyService {
async create (data: Message) {
return data;
}
}

type ServiceTypes = {
myservice: MyService
}

const app = feathers<ServiceTypes>();

app.use('myservice', new MyService());

app.service('myservice').on('created', (data: Message) => {
console.log('Created', data);
});

await app.service('myservice').create({
message: 'Hello from Deno'
});
```
> **Important:** An experimental Deno first implementation is currently under development at https://github.com/feathersjs/feathers/pull/2828
28 changes: 0 additions & 28 deletions deno/_commons/debug.ts

This file was deleted.

105 changes: 0 additions & 105 deletions deno/_commons/mod.ts

This file was deleted.

0 comments on commit 101963d

Please sign in to comment.