Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@colophon/schema

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colophon/schema

Standarized project metadata to specify the components, constructs and authorship of software

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Colophon version License Build Status

Standarized project metadata to specify the components, constructs and authorship of software.

Allows teams to gain a better understanding of software, systems and human mappings (why, what, how, who, when, where) in an organization.

Use cases

  • A single source of truth for all non-technical data!
  • Catalogue all your software projects
    • quickly scan through github repos for human readable and business driven information rather than code
    • create reports on project health and ownership
  • Codify business & operational concerns that are typically undocumented
    • timelines and scheduled operations around the project (e.g. sunset date)
    • none technical references to the project (e.g. kanban board, budget)
  • Use in CI/CD tooling to anotate your artefacts
  • Correlation of application instances and source code:
    • Web pages can expose a <meta> tag that links to the project's id:

      <meta name="colophon" content="acme-app-id"/>
      
    • APIs respond with a header Colophon that links to the project's id:

      HTTP/1.1 200 OK
      Date: Fri, 25 May 2018 22:38:34 GMT
      Content-Type: application/json; charset=UTF-8
      Content-Encoding: UTF-8
      Colophon: acme-app-api
      
      ...
      

Example

This project's own colophon.yml:

version: 1.0.0

id: colophon-schema

about:
  title: Colphon Schema
  description: Standarized project metadata to specify the components, constructs and authorship of software.

contacts:
  humans: Ahmad Nassri <hi@ahmad.codes>

schedule:
  launch: 2018-05-24T05:00:00.000Z

environments:
  - type: git
    title: Source Code
    uri: https://github.com/ahmadnassri/colophon

references:
  - title: Documentation
    uri: https://github.com/ahmadnassri/colophon

Specification

Versions

#status
1.0.0development

JSON Schema

Available as an npm package for validation purposes, compatible with any JSON Schema validation tool

npm install --production --save @colophon/schema

API

const { schema, regex } = require('@colophon/schema')

Credits


License: ISC • Copyright: ahmadnassri.com • Github: @AhmadNassri • Twitter: @AhmadNassri

Keywords

FAQs

Package last updated on 25 May 2018

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