a top level exception handle package for nodejs
A light-weight module that brings Fetch API to node.js
A library for manipulating IPv4 and IPv6 addresses in JavaScript.
Extendable error class for nodejs to extend native errors
Implementation of window.fetch which can use http2 seamlessly
Parse the Forwarded header (RFC 7239) into an array of objects
A light-weight module that brings window.fetch to node.js
zlib port to javascript - fast, modularized, with browser support
Promisify the node standard library.
List of generic exceptions to be used in all other repos
Koa middleware for validating JSON Web Tokens
Missing keepalive http.Agent
A light-weight module that brings Fetch API to node.js
List of exceptions that can be reused throughout Injective's projects.
Provides a way to make requests
HTTP exceptions module for Ts.ED Framework and other pure Express application
node client for extended StatsD server of Datadog
A pure JS HTTP parser for node.
parse SPDX license expressions
Prettier plugin to sort JSON files alphanumerically by key
A query library for ECMAScript AST using a CSS selector like query language.
Voiceflow standard exceptions and error codes
An implementation of window.fetch in Node.js using Minipass streams
Essential initialization for every JavaScript process
= DESCRIPTION: Provides a Chef handler which can report run status, including any changes that were made, to a Graylog2 server. In the case of failed runs a backtrace will be included in the details reported. = REQUIREMENTS: * A Graylog2 server running somewhere. = USAGE: This example makes of the chef_handler cookbook, place some thing like this in cookbooks/chef_handler/recipes/gelf.rb and add it to your run list. It also assumes your Graylog2 server has set the attribute rsyslog_server to true. log_server = search(:node, "rsyslog_server:true").first if log_server include_recipe "chef_handler::default" gem_package "chef-gelf" do action :nothing end.run_action(:install) # Make sure the newly installed Gem is loaded. Gem.clear_paths require 'chef/gelf' chef_handler "Chef::GELF::Handler" do source "chef/gelf" arguments({ :server => log_server['fqdn'] }) supports :exception => true, :report => true end.run_action(:enable) end Arguments take the form of an options hash, with the following options: * :server - The server to send messages to. * :port (12201) - The port to send on. * :facility (chef-client) - The facility to report under. * :host (node.fqdn) - The host to report messages as coming from. * :blacklist ({}) - A hash of cookbooks, resources and actions to ignore in the change list. = BLACKLISTING: Some resources report themselves as having updated on every run even if nothing changed, or are just things you don't care about. To reduce the amount of noise in your logs these can be ignored by providing a blacklist. In this example we don't want to be told about the GELF handler being activated: chef_handler "Chef::GELF::Handler" do source "chef/gelf" arguments({ :server => log_server['fqdn'], :blacklist => { "chef_handler" => { "chef_handler" => [ "nothing", "enable" ] } } }) supports :exception => true, :report => true end.run_action(:enable) = LICENSE and AUTHOR: Author:: Jon Wood (<jon@blankpad.net>) Copyright:: 2011, Blank Pad Development Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Contentful API wrapper library exposing an ActiveRecord-like interface