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

@babel/plugin-syntax-object-rest-spread

Package Overview
Dependencies
Maintainers
6
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-syntax-object-rest-spread

Allow parsing of object rest/spread

  • 7.8.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28M
increased by4.39%
Maintainers
6
Weekly downloads
 
Created

What is @babel/plugin-syntax-object-rest-spread?

The @babel/plugin-syntax-object-rest-spread package allows Babel to parse and handle the object rest/spread syntax. This syntax enables the extraction of properties from objects and the creation of new objects with certain properties of an existing object. It is important to note that this plugin only enables the syntax and does not transform it; the actual transformation is handled by another plugin like @babel/plugin-proposal-object-rest-spread.

What are @babel/plugin-syntax-object-rest-spread's main functionalities?

Object Rest Properties

Allows extracting the remaining own enumerable property keys that are not already picked off by the destructuring pattern.

{ ...rest } = object

Object Spread Properties

Enables the creation of a new object by copying own enumerable properties from a provided object onto the new object.

{ ...object }

Other packages similar to @babel/plugin-syntax-object-rest-spread

Keywords

FAQs

Package last updated on 13 Jan 2020

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