0.1.9 • Published 1 year ago

@ludovicm67/media-tools-utils v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Media Tools Utils

This package contains utilities that are used in other packages.

Install this library

npm install @ludovicm67/media-tools-utils

The following is exposed:

  • Buffer: Buffer that works on both Node.js and browsers
  • utils.blobToArrayBuffer: a function to convert a Blob to an ArrayBuffer

Angular

If you are using Angular, you might need to add buffer as an allowedCommonJsDependencies in your angular.json file, like this:

{
  "projects": {
    "YOUR_PROJECT": {
      "architect": {
        "build": {
          "options": {
            "allowedCommonJsDependencies": ["buffer"]
          }
        }
      }
    }
  }
}

by replacing YOUR_PROJECT with the name of your project.

This will prevent the display of some warnings when building your project.

0.1.7

1 year ago

0.1.9

1 year ago

0.1.6

1 year ago

0.1.2

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.5

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago