Socket
Book a DemoInstallSign in
Socket

san

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

san

bundlerRubygems
Version
1.4
Version published
Maintainers
1
Created
Source

A small class for generating and validating Standard Address Numbers (SAN), a unique global identifier used in the book and publishing industries.

Installation

gem install san

Usage

SAN.new("9013725").valid?
=> true

SAN.valid?("9013725")
=> true

SAN.valid?("9013726")
=> false

SAN.complete("901372")
=> "9013725"

Further Reading

  • https://www.myidentifiers.com.au/san/about

FAQs

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