0.5.3 • Published 5 years ago

@ema/js-base v0.5.3

Weekly downloads
2
License
MIT
Repository
bitbucket
Last release
5 years ago

Base library for Javascript projects

Web components library

@ema/js-base/dist/webcomponents.js

  • Reusable Web Components
  • The web components are just standard HTML elements, so they work in any major framework or with no framework at all.
  • In many cases, the components can be used as a drop in replacement for traditional frontend frameworks to build widgets, microapps, apps, etc.

Built With Stencil

Generic javascript library

@ema/js-base/dist/lib/index

  • Javascript modules and classes library
  • Shareable among all Javascript projects
  • Config - api - translation - util etc.

Distribution: npm / http / https

Demo's and documentation

Using the webcomponents library

Script tag

  • Put the following script tag in the head of your index.html: <script src='https://unpkg.com/@ema/js-base/dist/webcomponents.js'></script>
  • You can then use the webcomponents anywhere in your template, JSX, html etc.

Node Modules

  • Run npm install @ema/js-base --save
  • Put a script tag similar to this <script src='node_modules/@ema/js-base/dist/webcomponents.js'></script> in the head of your index.html
  • Then you can use the webcomponents anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install @ema/js-base --save
  • Add an import to the npm packages import '@ema/js-base';
  • Then you can use the webcomponents anywhere in your template, JSX, html etc

Using the javascript modules library

  • Run npm install @ema/js-base --save
  • ES5 usage: import { ConfigService, DomUtil } from '@ema/js-base/dist/lib/index'
  • ES6 usage: import { ConfigService, DomUtil } from '@ema/js-base/dist/collection/index'

Dev: getting started

Clone the repo, then run:

npm install
npm start

To watch for file changes during develop, run:

npm run dev

To build the components and classes for production, run:

npm run build

To run the unit tests for the components and classes, run:

npm test

Need help? Check out the Stencil docs here.

Alt text

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.4.1

5 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.1.54

6 years ago

0.1.53

6 years ago

0.1.52

6 years ago

0.1.51

6 years ago

0.1.50

6 years ago

0.1.49

6 years ago

0.1.48

6 years ago

0.1.47

6 years ago

0.1.46

6 years ago

0.1.45

6 years ago

0.1.44

6 years ago

0.1.43

6 years ago

0.1.42

6 years ago

0.1.41

6 years ago

0.1.40

6 years ago

0.1.39

6 years ago

0.1.38

6 years ago

0.1.37

6 years ago

0.1.36

6 years ago

0.1.35

6 years ago

0.1.34

6 years ago

0.1.33

6 years ago

0.1.32

6 years ago

0.1.31

6 years ago

0.1.30

6 years ago

0.1.29

6 years ago

0.1.28

6 years ago

0.1.27

6 years ago

0.1.26

6 years ago

0.1.25

6 years ago

0.1.24

6 years ago

0.1.23

6 years ago

0.1.22

6 years ago

0.1.21

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago