kompo-util

1.1.7 • Public • Published

Kompo Util

This repository contains utility functions which are provided for ease-of-use or syntactic sugar, more or less specific for the Kompo library.

Kompo

Kompo is a react js like library which tries to stay as simple as possible. No virtual DOM or JSX. Kompo loves the DOM & makes it possible to build interfaces through components.

Check out Kompo

Install

npm install --save kompo-util

Build

npm run build

Need the UMD or minified build? Use:

npm run build:umd
npm run build:min

Test

npm test

Please note: testing is still a work-in-progress and you can help out! Please check out the 'Contribute' section below.

How to use

Check out the ./src/ folder for all avaiable functions and their descriptions.

Todo

  • Create a function for adding multiple classes to an Element

Contribute

Would you like to contribute? Great!

Please keep the following in mind:

  • Please follow the existing code style. You can also use npm run lint to help.
  • Write your code in a fashion which is easy to read and understand.
  • Commit your changes by using npm run commit.
  • Create pull requests for proposals or possible additions to the code base.
  • Testing, testing, testing. Still a lot of work here. However each feature should come with a test.

/kompo-util/

    Package Sidebar

    Install

    npm i kompo-util

    Weekly Downloads

    13

    Version

    1.1.7

    License

    MIT

    Unpacked Size

    118 kB

    Total Files

    47

    Last publish

    Collaborators

    • ruben.hazelaar