kdf-core

0.0.6 • Public • Published

KDCore

KDCore is the heart of KDFramework. It exports all of the necessary functionality for KDFramework is built on.

Example

{ KDObject } = require 'kdf-core'
 
user = new KDObject { id: 'user-1' }{ name: 'John Doe' }
message = new KDObject { id: 1delegate: user }{ text: 'Hello world!' }
 
{ id } = message.getDelegate()
 
console.log id # => 'user-1' 
 
{ text } = message.getData()
console.log text # => 'Hello world' 

Installation

npm install kdf-core

Readme

Keywords

none

Package Sidebar

Install

npm i kdf-core

Weekly Downloads

6

Version

0.0.6

License

MIT

Last publish

Collaborators

  • usirin
  • sinan