Skip to content

kamauwashington/ISO-6346

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISO 6346 (Shipping Container Code) Implementation in TypeScript

This repository is purely for reference and is illustrative in it is purpose. This repository contains a few ways of implementing this algorithm.

This project illustrates an implementation of the ISO 6346 in TypeScript. ISO 6346 is an international standard which describes the identification of a shipping container. The standard is maintained by the BIC (International Container Bureau) and covers the serial number, owner, country code, and size of any given shipping container.. It is also an interesting algorithm as it teaches a lot of the basics and nuances of a language through implementation.

Prerequisites

Before you continue, ensure you have met the following requirements:

  • NodeJS installed
  • Npm installed

Testing

  • Issue from the command line npm t

Notes

  • This repository is heavily commented to provide context as to what and why, if in VS Code feel free to collapse all comments if they are obtrusive
    • On Mac -> Press + K then + /
    • On Windows & Linux -> Press Ctrl + K then Ctrl + /