Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
mdCodes provides code lists in hash or JSON formats for loading of mdEditor and other metadata tools that use the ADIwg mdJson-schemas. The code lists include all ISO 19115-2 and ISO 19115-1 codes plus supplemental codes added by NGDC and ADIwg. The code lists may be accessed in Ruby using the gem. Alternatively, JSON may be generated from the YAML using Grunt. NPM package is available as well. See the following for instructions.
npm install mdcodes
Note: The npm install will also create JavaScript modules for the codelists.
The adiwg-mdcodes gem provides code lists in Ruby hash or JSON formats.
Add this line to your application's Gemfile:
gem 'adiwg-mdcodes'
And then execute:
$ bundle
Or install it yourself as:
$ gem install adiwg-mdcodes
returns the path to the 'resources' folder containing codelist files in YAML format'.
returns all code lists with all codelist detail returnFormat = [hash | json] (string)
returns a single codelist with all code list detail codeListName = name of code list to return (string) returnFormat = [ hash | json ] (string)
returns all static codelists with only the codelist item names returnFormat = [hash | json] (string)
returns a single static codelist with only the codelist item names codeListName = name of code list to return (string) returnFormat = [hash | json] (string)
##Grunt
Generate JSON verions of the code lists using Grunt.
Note: These instructions assume that npm and Grunt are already installed. The generated files are not tracked by git.
npm install
.grunt
.git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that adiwg-mdcodes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.