standardised-vessel-dataset
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Installation

Npm

npm install standardised-vessel-dataset

Yarn

yarn add standardised-vessel-dataset

Usage

To get started with the library, you can use the following code snippet:

import { GeneralInformation, PortInformation } from 'standardised-vessel-dataset'

function App() {
    const general: GeneralInformation = {
        EventType: 'Noon Report'
        OperationType: 'Sailing',
        ShipReportingDate: new Date('2024-03-04T10:00:00Z'),
        ShipName: 'Ship name',
        Imo: '1234567',
        ShipType: 'Container Ship',
        VoyageNumber: 'Voy123',
        VoyageLegIdentifier: 'Leg1',
        VoyageLegRemarks: 'Some remarks about the vessel',
    }

    const portInfo: PortInformation = {
        DeparturePortCode: 'BCN',
        DeparturePortDescription: 'Barcelona, Spain',
        ArrivalPortCode: 'LIS',
        ArrivalPortDescription: 'Lisbon, Portugal'
        DepartureDateTime: new Date('2024-03-05T12:00:00Z')
    }
}

Readme

Keywords

Package Sidebar

Install

npm i standardised-vessel-dataset

Weekly Downloads

11

Version

1.0.0

License

MIT

Unpacked Size

21.8 kB

Total Files

20

Last publish

Collaborators

  • brunobranco25
  • anshul-rai-ceataec
  • dmavaleix
  • ceataec-ostap-smolynets
  • kyryl.tretiakov
  • dmytro-kulahin-ceataec
  • sandeep.tembare
  • martycochrane
  • ceataec-org