mirror of
https://github.com/amark/gun.git
synced 2025-06-16 11:06:44 +00:00

- Use ngx-pipes to transform object to array of pairs - Extract GunDb in its own file - Introduce deletion
7 lines
168 B
TypeScript
7 lines
168 B
TypeScript
import { NgModule, Injectable } from '@angular/core';
|
|
import Gun from 'gun/gun';
|
|
|
|
@Injectable()
|
|
export class GunDb {
|
|
readonly gun = Gun(location.origin + '/gun');
|
|
} |