@esdl/core
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.7 • Public • Published

    @esdl/core

    Interfaces:

    • IEsdlService (how to call the ESDL service, the controller)
    • IEsdlDatasourcePlugin (talks to the repository/datasource) { init(config: IEsdlConfig); }
    • IEsdlQuery
    • IEsdlConfig

    Implemented functionality

    • toESDL (as xml / json as option)
    • fromESDL (input in xml)
    • validateESDL
    • toGeoJSON
    • EsdlQueryParser (get Energy system from REGION REGION_ID aggregate by SUB-REGION filter by TIME_PERIOD)
    • fromMapping(mapping, data, transformers?): ESDL (as JSON object)
    • XSD schema
    • TypeScript generated ESDL classes/interfaces

    Processing data

    GET -> convert query to query object -> select data -> perform mapping of 'columns' -> perform mapping to ESDL object -> return ESDL object

    Keywords

    none

    Install

    npm i @esdl/core

    DownloadsWeekly Downloads

    8

    Version

    0.1.7

    License

    MIT

    Unpacked Size

    1.17 MB

    Total Files

    105

    Last publish

    Collaborators

    • damylen
    • erikvullings