New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

loc-mods

Package Overview
Maintainers
1
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loc-mods

  • 0.1.0
  • unpublished
  • Rubygems

Version published
Maintainers
1
Created
Source

= Library of Congress MODS in Ruby

image:https://img.shields.io/gem/v/loc-mods.svg["Gem Version", link="https://rubygems.org/gems/loc-mods"] image:https://github.com/relaton/loc-mods/workflows/rake/badge.svg["Build Status", link="https://github.com/relaton/loc-mods/actions?workflow=rake"] image:https://codeclimate.com/github/relaton/loc-mods/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/loc-mods"]

== Purpose

This is a class-oriented Ruby library that parses LOC's MOD data.

This gem is developed using the MODS 3.7 XSD schema.

== Usage

[source,ruby]

require 'loc-mods'

Single record under <modsCollection>

LocMods::Collection.from_xml(File.read("spec/fixtures/record_1.xml"))

Full NIST Tech Pubs records

https://github.com/usnistgov/NIST-Tech-Pubs/tree/nist-pages/xml

LocMods::Collection.from_xml(File.read("reference/allrecords-MODS.xml"))

== License

Copyright Ribose.

FAQs

Package last updated on 12 May 2024

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