New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nanoc-opal

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanoc-opal

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

nanoc-opal

This provides a filter that allows Nanoc to process content via Opal.

This gem is based on nanoc's own nanoc-dart-sass.

Installation

Add nanoc-opal to the nanoc group of your Gemfile:

group :nanoc do
  gem 'nanoc-opal'
end

Usage

Call the :opal filter. For example:

require "nanoc-opal"
compile '/script.rb' do
  filter :opal

  write item.identifier.without_ext + '.js'
end

Options passed to this filter will be passed on to Opal. For example:

filter :opal, arity_check: true

See example directory for a sample how to use Nanoc with Opal and Opal-Browser.

FAQs

Package last updated on 16 Jan 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

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