Identifiers

Collection of utilities related to the extraction, validation and normalization of various scholarly identifiers. The supported list is:

Installation

Add this line to your application's Gemfile:

gem 'identifiers', '~> 0.1'

And then execute:

$ bundle

Or install it yourself as:

$ gem install identifiers

Usage

Identifiers::DOI.extract('example: 10.123/abcd.efghi')

Identifiers::URN.new('urn:abc:123')
Identifiers::URN('urn:abc:123')

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/altmetric/identifiers.

License

Copyright © 2016 Altmetric LLP

Distributed under the MIT License.