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

make_bbls

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

make_bbls

Will concatenate values for a borough, block, and lot into a valid BBL string or integer for working with NYC open data

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

make_bbls

A Node JS Module for making valid BBL numbers from separate NYC borough, block and lot values.

Installation

Make sure you have Node.js installed and then do npm install make_bbls

Usage

The bbl function takes values as either strings or numbers. Passing a fourth value of true will return the BBL as an integer.

var bbl = require('make_bbls').bbl;
console.log(bbl('Manhattan', 4, 321));
// will output: '1000040321'
console.log(bbl('Manhattan', 4, 321, true));
// will output: 1000040321

Tests

Do npm test

Keywords

FAQs

Package last updated on 16 Feb 2015

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