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

less-plugin-keys

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

less-plugin-keys

A Less utility function `keys()` for getting the properties of a ruleset as a list.

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

less-plugin-keys

A Less plugin defining a utility function keys() for getting the properties of a ruleset as a list, for easier iteration with each().

Up and Running

Install with npm: npm install --save-dev less-plugin-keys

To use it, either pass --keys to lessc when you build, or reference the plugin with @plugin, like this:

@plugin "keys";

Limitations

I've only tested this function with rulesets as variables. It's enough to get by, but there's probably lots of opportunity for improvements.

Contributing

This project is young, but you can help it grow up! Issues and pull requests are welcome. Be kind and respectful.

Keywords

FAQs

Package last updated on 07 Dec 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