Repository
Current version released
3 years ago
Dependencies
deno.land/x
Versions
- v5.0.12Latest
- v5.0.11
- v5.0.10
- v5.0.9
- v5.0.8
- v5.0.7
- v5.0.6
- v5.0.5
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v5.0.0-pre.38
- v5.0.0-pre.37
- v5.0.0-pre.36
- v5.0.0-pre.35
- v5.0.0-pre.34
- v5.0.0-pre.33
- v5.0.0-pre.32
- v5.0.0-pre.31
- v5.0.0-pre.30
- v5.0.0-pre.29
- v5.0.0-pre.28
- v5.0.0-pre.27
- v5.0.0-pre.26
- v5.0.0-pre.25
- v5.0.0-pre.24
- v5.0.0-pre.23
- v5.0.0-pre.22
- v5.0.0-pre.21
- v5.0.0-pre.20
- v5.0.0-pre.19
- v5.0.0-pre.18
- v5.0.0-pre.17
- v5.0.0-pre.16
- v5.0.0-pre.15
- v5.0.0-pre.14
- v5.0.0-pre.13
- v5.0.0-pre.12
- v5.0.0-pre.11
- v5.0.0-pre.10
- v5.0.0-pre.9
- v5.0.0-pre.8
- v5.0.0-pre.7
- v5.0.0-pre.6
- v5.0.0-pre.5
- v5.0.0-pre.4
- v5.0.0-pre.3
A framework for real-time applications and REST APIs with Deno
This folder contains the Deno build of Feathers.
Use with Deno
// 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'
});