Skip to content

winternet-studio/jensen-js-essentials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jensen-js-essentials

Some essential Javascript tools for web development — built as ES modules.

Matching PHP library with many of the same tools (plus a lot more): https://github.com/winternet-studio/jensenfw2

Installation

npm install jensen-js-essentials

Composer (PHP)

To install using Composer add this to your composer.json:

"repositories": [
  {
    "type": "composer",
    "url": "https://asset-packagist.org"
  }
]

Now install with composer require npm-asset/jensen-js-essentials "^1.2.0".

Usage

import Core from './node_modules/jensen-js-essentials/src/Core.js';

var result = Core.roundDecimals(34.6816764, 2);

Direct usage via CDN

<script type="module">
import Core from '//cdn.jsdelivr.net/gh/winternet-studio/[email protected]/src/Core.js';

var result = Core.roundDecimals(34.6816764, 2);
</script>

Testing

Run tests: npm test

About

jensen-js-essentials

Resources

License

Stars

Watchers

Forks

Packages

No packages published