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

cf-sectionizer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-sectionizer

Takes a List (or array of Lists) and a Section and injects the Section ID into the List's Section array.

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cf-sectionizer

Notice: this module is deprecated. Since v1.0.0 of cf-list-aggregator, cf-section-extrapolator has replaced cf-sectionizer. This repo should only be used for supporting pre 1.0.0 versions of the list aggregator.


Takes a List (or array of Lists) and a Section and injects the Section ID into the List's Section array.

When a -1 is encountered, this is a {CURRENT} section mapping so only the current section ID is returned.

When a -2 is encountered, this is a {CURRENTANDCHILDREN} section mapping so the current section ID and the children of that section are returned.

See tests for usage information.

Installation

  npm install cf-sectionizer

Usage

Credits

Dom Harrington follow me on twitter @domharrington

Licence

Licensed under the New BSD License

FAQs

Package last updated on 23 Oct 2017

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