6.1.3 • Published 3 months ago

hoek v6.1.3

Weekly downloads
4,166,291
License
SEE LICENSE IN LI...
Repository
github
Last release
3 months ago

hoek

Utility methods for the hapi ecosystem. This module is not intended to solve every problem for everyone, but rather as a central place to store hapi-specific methods. If you're looking for a general purpose utility module, check out lodash or underscore.

Build Status

License

This version of the package requires a commercial license. You may not use, copy, or distribute it without first acquiring a commercial license from Sideway Inc. Using this software without a license is a violation of US and international law. To obtain a license, please contact sales@sideway.com. The open source version of this package can be found here.

Usage

The Hoek library contains some common functions used within the hapi ecosystem. It comes with useful methods for Arrays (clone, merge, applyToDefaults), Objects (removeKeys, copy), Asserting and more.

For example, to use Hoek to set configuration with default options:

const Hoek = require('hoek');

const default = {url : "www.github.com", port : "8000", debug : true};

const config = Hoek.applyToDefaults(default, {port : "3000", admin : true});

// In this case, config would be { url: 'www.github.com', port: '3000', debug: true, admin: true }

Documentation

API Reference

boomtoposntpvue-conversational-form@aptoma/amp-clihaplifabric-client-sm2fabric-client-sm1hapi-auth-okto-v2tracking-ebay-test@cashremit/cr-streamline-iconsmy-tracking-testcron-medoggo-cored-js-utils@dw/d-loading@flexdrive/seneca-schemaopenid-passporthapi-imagemin-proxykununu-electrode-react-webapphapi-swagger-jsonhapi-plugin-nconfhapi-plugin-requestcontext@infinitebrahmanuniverse/nolb-hoehapi-simple-session@everything-registry/sub-chunk-1852@scottyfillups/catbox-s3@wzrdtree/chairobe-more-hapibassmaster@arve.knudsen/hapi-auth-cookie@arve.knudsen/catbox-memorybedwetter@articulate/hapi-api-versions@articulate/hapi-authenticbig-clibig-bertha@auth0/statehood@auth0/hapibellbell-legacybell-oidcbetter-sails-swaggerbitcore-matrixpaycore-buildbitbucketapicloudstatsclickityconfigurationsbotkit-rocketchat-connectorbookshelf-graph-querybossycombiner-libcordova-plugin-amplify-paycordova-plugin-amplify-paymentcordova-plugin-require-bluetoothlecontentful-migration-clicordova-plugin-tspbrowser-soliditybroken-yarbrisquebpmn-flows-allbounceboxscoresboom-browserifybragbloc@brucexu/hapi-endingcabrel-catboxcabrel-hapi-jsoncall@blitt/good-influxbuildbot-vue-plugin-boilerplatebullishbuilding-static-server@bakjs/dev-errorsbluestatsd@bakjs/sequelize@bartimaeus/xml2jsonbluecatbobberblurbohr-js@bzxnetwork/bzx.jscanaribzx.jscarycasinocoin-libjscasinocoin-libjs-binary-codec@c8/auth@c8/rbac@cdevine49/react-numeric-inputcatboxcatbox-aerospikecatbox-cryptocatbox-data-cachecatbox-diskcatbox-dynamodbcatbox-fakecatbox-fallbackcatch-and-release
4.3.1

3 months ago

6.1.3

5 years ago

6.1.2

5 years ago

6.1.1

5 years ago

6.1.0

5 years ago

6.0.4

5 years ago

6.0.3

5 years ago

6.0.2

5 years ago

6.0.1

5 years ago

6.0.0

5 years ago

5.0.4

6 years ago

4.2.1

6 years ago

5.0.3

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

7 years ago

4.2.0

7 years ago

4.1.1

7 years ago

4.1.0

8 years ago

4.0.2

8 years ago

4.0.1

8 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.16.3

9 years ago

2.16.2

9 years ago

2.16.1

9 years ago

2.16.0

9 years ago

2.15.0

9 years ago

2.14.0

9 years ago

2.13.1

9 years ago

2.13.0

9 years ago

2.12.0

9 years ago

2.11.1

9 years ago

2.11.0

9 years ago

2.10.0

9 years ago

2.9.1

9 years ago

2.9.0

9 years ago

2.8.1

9 years ago

2.8.0

9 years ago

2.7.0

9 years ago

2.6.0

9 years ago

2.5.1

9 years ago

2.5.0

9 years ago

2.4.1

10 years ago

2.4.0

10 years ago

2.3.0

10 years ago

2.2.0

10 years ago

2.1.1

10 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.5.2

10 years ago

1.5.1

10 years ago

1.5.0

10 years ago

1.4.1

10 years ago

1.4.0

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.10.0

11 years ago

0.9.1

11 years ago

0.9.0

11 years ago

0.8.5

11 years ago

0.8.4

11 years ago

0.8.3

11 years ago

0.8.2

11 years ago

0.8.1

11 years ago

0.8.0

11 years ago

0.7.6

11 years ago

0.7.5

11 years ago

0.7.4

11 years ago

0.7.3

11 years ago

0.7.2

11 years ago

0.7.1

11 years ago

0.7.0

11 years ago

0.6.2

11 years ago

0.6.1

11 years ago

0.6.0

11 years ago

0.5.0

11 years ago

0.4.5

11 years ago

0.4.4

11 years ago

0.4.3

11 years ago

0.4.2

11 years ago

0.4.1

11 years ago

0.4.0

11 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago

0.0.21

11 years ago

0.0.19

11 years ago

0.0.18

11 years ago

0.0.17

11 years ago

0.0.16

11 years ago

0.0.15

11 years ago

0.0.14

11 years ago

0.0.13

11 years ago

0.0.12

11 years ago

0.0.11

11 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

12 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago