Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arc-lib

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arc-lib - npm Package Compare versions

Comparing version 5.0.0 to 6.0.0

23

package.json
{
"name": "arc-lib",
"version": "5.0.0",
"version": "6.0.0",
"description": "ARC",

@@ -9,3 +9,3 @@ "main": "index.js",

"publishPatch": "npm version patch && npm publish",
"publishMinor": "npm version patch && npm publish"
"publishMinor": "npm version minor && npm publish"
},

@@ -17,3 +17,3 @@ "repository": {

"author": "Ian Reid",
"license": "ISC",
"license": "Unlicense",
"bugs": {

@@ -24,12 +24,13 @@ "url": "https://github.com/anyuzer/arc-lib/issues"

"dependencies": {
"arc-array": "4.3.0",
"arc-check": "1.2.0",
"arc-date": "2.1.3",
"arc-events": "2.0.1",
"arc-is": "1.0.6",
"arc-array": "4.3.1",
"arc-check": "1.2.1",
"arc-date": "2.1.4",
"arc-events": "2.0.2",
"arc-hash": "2.0.0",
"arc-is": "1.0.8",
"arc-object": "3.1.0",
"arc-reg-exp": "1.0.0",
"arc-router": "1.2.0",
"arc-hash": "2.0.0"
"arc-reg-exp": "1.0.1",
"arc-router": "1.2.1",
"arc-scheduler": "^1.0.0"
}
}
# arc-lib
A convenience wrapper around the ARC Library classes
A convenience wrapper around my ARC utilities

@@ -20,3 +20,5 @@ ## Install

* [arc-hash](https://github.com/anyuzer/arc-hash)
* [arc-scheduler](https://github.com/anyuzer/arc-scheduler)
## Exports

@@ -33,6 +35,22 @@ ```js

ArcRouter,
ArcHash
ArcHash,
ArcScheduler
}
```
## Random Utilities
* **arc-is**: Is a simple type checker that honors inheritence, checks most native types properly, and has two modes to check between strict types vs soft types. To use simply: `is(val) === 'array'`
* **arc-check**: Is a complex inclusion/exclusion check.
* **arc-events**: A relatively standard on/emit events model, with some additional features ie. `.once`, `.catchAll` as well as a mixin to turn any object into an even emitter.
* **arc-router**: Is a very thin functional router, for complex URL/Path mapping. It takes a map of urls or paths, and is able to take an evaluation string, and map it to a match while also pulling appropriate variables from the path.
* **arc-hash**: Provides a very simple but consistent approach to generating md5 and sha256 hashes for both scalar and non-scalar types in javascript (objects and arrays in particular).
* **arc-scheduler**: A scheduler and task manager for recurrent tasks. Supports both event based reaction (ie. NEW_HOUR / NEW_DAY / NEW_WEEK) as well as a fully managed task-scheduling suite (ie. Fire a job on the first Monday of every month at 8:00am)
## Type Utilities
* **arc-array**: Is a native array wrapper with a number of convenience methods such as: `.shuffle`, `.rand`, `.pMap` (asynchronous mapping)
* **arc-object**: Is a native object wrapper with convenience methods such as `.copy` (which performs a deep copy), `.freeze` (make it immutable), and some array like functions.
* **arc-reg-exp**: Is a native object wrapper around RegExp that exposes some convenience methods, such as `.matchAll`, `.matchAndReplace`, `.replaceCallback`
* **arc-date**: Is a very thin Date formatting utility
## Example Usage

@@ -39,0 +57,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc