Skip to content

kdframework/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: 1, delegate: 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

Releases

No releases published

Packages

No packages published