@micosmo/core

0.1.3 • Public • Published

@micosmo/core

The core package contains helper objects and functions that extend the core Javascript functionality.

PREREQUISITES

  • An ECAScript 2015 complient Javascript environment

INSTALLATION

  • NPM Package - npm install @micosmo/core

CONTENTS

private

Create and access a private properties extension of a public object.

replicate

Functions for assigning, copying and cloning Javascript objects at both a descriptor and value level.

method

Contains a decorator service to promote a function that accepts an object as the first argument to be a method of that object type.

bind

Alternate bind function that returns the same bound function for the same inputs.

compare

Contains value comparison services.

string

Contains a string building service.

number

Contains a number related services.

character

Contains character testing services.

IMPORTING

The interfaces for all the modules contained in this package have been rolled into the default exports for the package.

const tb = require('@micosmo/core');

or

const { copy, method, newPrivateSpace, ... } = require('@micosmo/core');

VERSIONS

  • 0.1.3 - Fix path in md document structure
  • 0.1.2 - Fix repository path in package.json. Added compare. Fix to bind.
  • 0.1.1 - Rework of method (see method) and context table fix to replicate
  • 0.1.0 - Initial release (DEPRECATED)

AUTHORS

  • Bruce Twite - Initial work

LICENSE

ISC - Internet Systems Consortium

Copyright 2019 Micosmo (www.micosmo.com)

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Package Sidebar

Install

npm i @micosmo/core

Weekly Downloads

1

Version

0.1.3

License

ISC

Unpacked Size

47.1 kB

Total Files

19

Last publish

Collaborators

  • btwite
  • micosmogames