Package Exports
- @cropper/utils
- @cropper/utils/dist/utils.esm.raw.js
- @cropper/utils/dist/utils.raw.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cropper/utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@cropper/utils
A series of common constants and utility functions for Cropper.
Main npm package files
dist/
├── utils.js (UMD, bundled, default)
├── utils.min.js (UMD, bundled, compressed)
├── utils.raw.js (UMD, unbundled, default)
├── utils.esm.js (ECMAScript Module, bundled)
├── utils.esm.min.js (ECMAScript Module, bundled, compressed)
├── utils.esm.raw.js (ECMAScript Module, unbundled)
└── utils.d.ts (TypeScript Declaration File)
Getting started
Installation
npm install @cropper/utils
Usage
import { NAMESPACE, isObject } from '@cropper/utils';
console.log(NAMESPACE);
// > "cropper"
console.log(isObject({}));
// > true
console.log(isObject(null));
// > false
Versioning
Maintained under the Semantic Versioning guidelines.