Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
/ ameba Public archive

Ameba is a flexible entity with TypeScript

License

Notifications You must be signed in to change notification settings

micin-jp/ameba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ameba

Ameba is a flexible entity with TypeScript

Example

import Ameba from 'ameba';

interface Test {
  name: string,
  age: number
}

let test: Ameba<Test> = Ameba.create<Test>({name: 'foo', age: 2});
console.log(test.props.age);  // => 2
test.props.age = 3
console.log(test.props.age);  // => 3

test.valueChanges
  .subscribe((val: any) => {
    console.log(val);
  });

About

Ameba is a flexible entity with TypeScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published