Project

isni

0.0
Low commit activity in last 3 years
No release in over a year
a (very) small library for working with ISNI and ORCID
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.0
>= 10.0
 Project Readme

A small class for generating and validating Internation Standard Name Identifiers (ISNI). This will also work just fine with ORCID, a subset of ISNI.

Installation

gem install isni

Usage

ISNI.new("000000029534656X").valid?
=> true

ISNI.valid?("000000029534656X")
=> true

ISNI.valid?("0000000295346560")
=> false

ISNI.complete("000000029534656")
=> "000000029534656X"

ISNI.new("000000029534656X").to_s
=> "0000-0002-9534-656X"

Further Reading

Contributing

Source code is publicly available @ http://github.com/yob/isni. Patches welcome, preferably via a git repo I can pull from.