3.0.1 • Published 9 months ago

bundlex v3.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

��# bundleX

a very fast and scalable bundler with bunch of features

bundler

jsBundler is the function to bundle js or ts just by passing the path to the file.

listener

You can listen for events hapenning on the bundled path.

With jsBundler.on you can listen for events hapenning on the bundled path.

For example if you want to listen for the change event you can do:

jsBundler.on('change', (path: string) => {
  // something to do
})

Features

Out of the box supports typescript and json files.

You can create your own bundler to handle any kind of bundling.

With createBundler you can create your own bundler just by providing a info extractor function and bundler function

type InfoExtractor = (path: string) => Promise<{
  imports: string[]
  path: string
  content: string
}>
type Bundler = (contents: Info[]) => string
3.0.1

9 months ago

2.2.8

11 months ago

3.0.0

11 months ago

2.2.2

11 months ago

2.2.5

11 months ago

2.2.4

11 months ago

2.2.7

11 months ago

2.2.6

11 months ago

2.2.1

11 months ago

2.2.0

11 months ago

2.1.0

12 months ago

2.0.0

12 months ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago

0.1.1

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago