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

@serverless/utils

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/utils

General serverless utilities

  • 0.0.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2M
increased by3.46%
Maintainers
2
Weekly downloads
 
Created
Source

Serverless Utils

General serverless utilities for our projects.

This module is meant for use by serverless components, plugins as well as used by the core of serverless. It allows components and plugins to depend directly upon these utility methods and avoid issues when the core of serverless changes.

It also supplies a number of our basic utilities (config, data, fs, path, etc). We pull these utilities from here so that when we want to improve how one of these methods works we don't have to traverse through all of our code bases and change the imports.

WebsiteSlackNewsletterForumMeetupsTwitterWe're Hiring

Project Status

serverless Build Status license coverage

Documentation

Please review the API documentation.

Install

npm install --save @serverless/utils

Usage

import { reduce } from '@serverless/utils'

const array = [ 'foo', 'bar' ]
const result = reduce(
  (acc, val) => acc + val,
  '',
  array
)

console.log(result) //=> 'foobar'

FAQs

Package last updated on 09 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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