Package Exports
- andculturecode-javascript-core
- andculturecode-javascript-core/dist/__mocks__/axios
- andculturecode-javascript-core/dist/tests/factories/stub-resource-record-factory
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 (andculturecode-javascript-core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
AndcultureCode.JavaScript.Core
Common patterns, functions, etc... used when building javascript applications
Getting started
This package is installed via npm or yarn
# npm
npm install --save-dev andculturecode-javascript-core
# yarn
yarn add andculturecode-javascript-core --devFrom there you can import the variety of modules.
import {
CollectionUtils,
CoreUtils
} from "andculturecode-javascript-core";You can also reference the global distribution package within a website which gives you access to the AndcultureCode namespace. See the example below
<script src="https://unpkg.com/browse/andculturecode-javascript-core@[version-number]/dist/global/index.js"></script>
<script>
var myAuthObject = AndcultureCode.RouteUtils.queryStringToObject('#token=bada55cafe')
</script>
NOTE - This source code relies on several peer dependencies, most of which are not included in this bundled global distribution. You will likely want to reference these in your website prior to referencing the andculture-javascript-core global package. See test-global-distribution.html for the full list of dependencies. Also note that peer dependencies are only required if your code will be executing code paths that utilize any of those peer dependencies.
Documentation
Contributing
Information on contributing to this repo is in the Contributing Guide