8.0.0 • Published 2 years ago

@dmsi/core v8.0.0

Weekly downloads
310
License
SEE LICENSE IN LI...
Repository
bitbucket
Last release
2 years ago

DMSi Core

Utilities for use in DMSi applications

npm

Core DMSi JavaScript utility functions

NameDescription
browserBrowser provides information regarding the state of the user's browser, including HTML/CSS features available, whether the browser is a mobile one, along with other lower-level browser information. Browser also offers a method to get the current orientation of the browser.
cookiesAbstraction of document.cookie that allows for easier access and modification of cookies.
decimalExport methods to create decimal numbers in varying user-readable formats.
hashGenerates a hexidecimal string from a string. Useful for generating a key from a complex JS object for storage purposes.
keyEventsExecutes a callback if the given key was pressed.
LoggerSends log messages to a websocket server that follow DMSi's standards for log levels.
storageAbstractions of window.localStorage and window.sessionStorage that allow for easier access and modification of browser storage. All values will be stored using a hardcoded prefix (dmsi:) to ensure uniqueness.
timezoneExports methods designed to programmatically apply timezones to pre-existing dates, be they strings or Moment dates.

Useful (Small) Libraries

  • dot-prop: get, set, or delete a property from a nested object using a dot path
  • deepmerge: merges the enumerable properties of two or more objects deeply
  • klona: a tiny and fast utility to "deep clone" Objects, Arrays, Dates, RegExps, and more
  • pipr: a tiny function for piping the results of one function to the next

Versioning

DMSi Constants conforms to the semver spec for versioning. The library is versioned separately from other @dmsi packages. Check out the CHANGELOG to see what's changed.

Local Development

For most development purposes, symlinking @dmsi/core with a consuming package should be sufficient. However in certain cases the developer may have trouble symlinking to packages with competing dependency versions. In this case you may run yarn publish:test, which will publish a tc version for local development. The package must be updated to a major/minor/patch/rc version before being merged into develop.

8.0.0

2 years ago

8.0.0-tc.5

2 years ago

8.0.0-tc.4

2 years ago

8.0.0-tc.3

2 years ago

7.2.3-tc.1

2 years ago

7.2.3-tc.0

2 years ago

8.0.0-tc.1

2 years ago

8.0.0-tc.0

2 years ago

8.0.0-tc.2

2 years ago

7.2.3

2 years ago

7.2.2

2 years ago

7.2.2-tc.0

2 years ago

7.2.1

3 years ago

7.2.1-tc.0

3 years ago

7.2.0

3 years ago

7.2.0-tc.0

3 years ago

7.1.2-tc.1

3 years ago

7.1.2-tc.0

3 years ago

7.1.2-tc.3

3 years ago

7.1.1

3 years ago

7.1.0

3 years ago

7.1.0-tc.0

3 years ago

7.0.3

4 years ago

7.0.2

4 years ago

7.0.1

4 years ago

7.0.0

4 years ago

6.0.3

4 years ago

6.0.2

4 years ago

6.0.1

4 years ago

6.0.1-tc.0

5 years ago

6.0.0

5 years ago

6.0.0-rc.4

5 years ago

6.0.0-rc.3

5 years ago

6.0.0-rc.2

5 years ago

6.0.0-rc.1

5 years ago

6.0.0-rc.0

5 years ago

5.8.2

5 years ago

5.8.1

5 years ago

5.8.0

5 years ago

5.7.2

5 years ago

5.7.1

5 years ago

5.7.0

5 years ago

5.6.1

5 years ago

5.6.0

5 years ago

5.5.0

5 years ago

5.4.1

5 years ago

5.4.0

5 years ago

5.3.0

6 years ago

5.2.0

6 years ago

5.1.0

6 years ago

5.0.0

6 years ago

4.1.0

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2-0

6 years ago

4.0.0

6 years ago

4.0.0-3

6 years ago

4.0.0-2

6 years ago

4.0.0-1

6 years ago

4.0.0-0

6 years ago

2.1.1

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.1.1-0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago