Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@squarespace/template-engine

Package Overview
Dependencies
Maintainers
0
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squarespace/template-engine

Squarespace template engine

latest
Source
npmnpm
Version
2.10.7
Version published
Weekly downloads
348
-3.33%
Maintainers
0
Weekly downloads
 
Created
Source

template-engine

This is a port of the Squarespace Java template-compiler project to TypeScript.

Build Status Coverage Status

Versioning

The following live branches exist:

  • 1.x - for ongoing releases using moment and moment-timezone as direct dependencies
  • master - 2.x and future releases using @phensley/cldr for international formatting

Rationale

The need for compilation of Squarespace templates in the browser has grown over time. The existing projects that enable browser compilation of Squarespace templates are incomplete, incompatible and have maintenance issues.

This project is a new implementation of the Squarespace template syntax with the following goals:

  • Provide a sound foundation for current and future development.
  • Meet frontend application performance criteria.
  • Support all current server-side functionality, including all plugins.
  • Full compatibility with server compiler.
  • Separate the parsing and execution phases to support repeated executions of a template efficiently.
  • Organized and modular codebase.
  • Follow same basic design as Java compiler.
  • High test coverage.

License

Apache 2.0

FAQs

Package last updated on 28 Nov 2024

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