Skip to content
/ san Public

a (very) small library for working with Standard Address Numbers

License

Notifications You must be signed in to change notification settings

yob/san

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a (very) small library for working with Standard Address Numbers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages