Socket
Socket
Sign inDemoInstall

@glimmer/interfaces

Package Overview
Dependencies
Maintainers
12
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glimmer/interfaces


Version published
Weekly downloads
377K
increased by23.15%
Maintainers
12
Weekly downloads
 
Created

Package description

What is @glimmer/interfaces?

@glimmer/interfaces is a TypeScript package that provides type definitions and interfaces for the Glimmer VM, which is a rendering engine used in Ember.js and other frameworks. It helps in defining the structure and types of various components, templates, and other elements used in Glimmer applications.

What are @glimmer/interfaces's main functionalities?

Component Interface

Defines the structure of a basic component with an id and a render method.

interface Component { id: string; render(): void; }

Template Interface

Defines the structure of a template with a compile method that returns a string.

interface Template { compile(): string; }

Environment Interface

Defines the structure of an environment with a method to get a property from an object.

interface Environment { getProperty(obj: object, key: string): any; }

Other packages similar to @glimmer/interfaces

FAQs

Package last updated on 23 Nov 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc