0.3.2 • Published 3 years ago

djinnjs v0.3.2

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
3 years ago

DjinnJS

DjinnJS is a lightweight JavaScript & CSS bootstraper built on ES Modules and Web Components.

Features

  • Just In Time Resouce Fetching
  • ES Module Imports
  • Context-Specific Progressive Enhancements

Installation

Download from NPM:

npm i -D djinnjs

Usage

Setup the DjinnJS config file. View the configuration documentation.

module.exports = {
    src: "./src",
};

Include the runtime JavaScript:

<script type="module" src="/assets/bootstrap.mjs"></script>

Inlcude the noscript CSS file:

<noscript>
    <link rel="stylesheet" href="/assets/noscript.css" />
</noscript>

Run the DjinnJS command:

djinnjs

CLI

    -c, --config        Path to the config file
    -e, --env           The enviroment settings (env | production)

Environment Support

last 2 versionslast 2 versionslast 2 versionslast 2 versionslast 2 versionslast 2 versions

Contributing

We welcome all contributions. Please read our contributing guideline first. You can submit any changes as pull requests or as GitHub issues. If you'd like to fix bugs or add new features, check out the developer guide and please follow our Pull Request principle.

0.3.2

3 years ago

0.3.0

3 years ago

0.3.1

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.28

4 years ago

0.0.27

4 years ago

0.0.25

4 years ago

0.0.26

4 years ago

0.0.24

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.18

4 years ago

0.0.19

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago