1.1.0 • Published 2 years ago

@rdfjs/types v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

RDF/JS Types

Authoritative TypeScript typings for all RDF/JS specifications

The types should match the RDF/JS specifications (Data Model, Dataset and Stream). However, because they also take advantage of TypecScript-specific syntax features, some differences are inevitable. If something does not add up, please open an issue.

Usage

Installed as usual using your favourite package manager.

yarn add @rdfjs/types

This package does not provide code, only interafces for the RDF/JS specifications. Import them to strong-type your RDF/JS code.

import type { NamedNode, DatasetCore, Stream } from '@rdfjs/types'

Or import separately from type modules corresponding the specifications.

import type { NamedNode } from '@rdfjs/types/data-model'
import type { DatasetCore } from '@rdfjs/types/dataset'
import type { Stream } from '@rdfjs/types/stream'

Contributing

Everyone is invited to open issues and pull requests. When you create a PR, please add or update the rdf-js-tests.ts file to reflect your changes.

You may also create a changeset file by running npx run changeset and following the simple wizard. If you don't do that, such as in the case when editing from your browser, do not worry. A maintainer can also create it for you when you open a PR.

What about @types/rdf-js?

This package replaces typings previously managed in the DefinitelyTyped repository.

The old package wil be deprecated but continue to work for backwards compatibility but library maintainers are encouraged to use @rdfjs/types instead.

@ldes/types@ldes/subject-page-bucketizer@equinor/sparql-graph@infinitebrahmanuniverse/nolb-_rdrspql-query-subsumption@everything-registry/sub-chunk-762quadstorequadstore-comunicarml-mapper-processor-tsshacl-astshaclc-parserdf-isomorphicrdf-jsrdf-lensrdf-literalrdf-serializerdf-data-factoryrdf-dataset-fragmenterrdf-dereferencerdf-parserdf-dereference-storerdf-objectrdf-store-streamrdf-web-access-controlrdf-storesrdf-streaming-storerdf-stringrdf-string-ttlrdf-termsrdf-test-suiterdfxml-streaming-parserrdfjs-c14nrdfa-streaming-parserprecshape-trees-in-solidbench-generatorsparql-query-parameter-instantiatorsparqlalgebrajssparqlalgebrajs-inputsparqleesparqljson-parsesparqljson-to-treesparqlxml-parsesparnaturaltemporibusrepudiandaeevnoexpress-middleware-shaclfetch-sparql-endpointfugiatameteye-mockmicrodata-rdf-streaming-parserhydra-box-web-access-controlhydra-web-access-controlgraphql-to-sparqlgraphql-ldnihilsimiliqueldbc-snb-enhancerldbc-snb-validation-generatorldo-type-indexldkitldkit-comunicajest-rdfiprdjsonld-streaming-parserjsonld-streaming-serializerjsonld2graphobjectostrich-bindings@zkp-ld/rdf-signatures-bbs@hydrofoil/roadshow@hydrofoil/shaperone-core@hydrofoil/shell-auth@hydrofoil/shell-auth-auth0@hydrofoil/shell-operations@hydrofoil/shell-resourcescomponentsjs@bruju/rdf-test-util@bruju/wasm-tree@incremunica/incremental-rdf-streaming-store@incremunica/incremental-types@inrupt/experimental-graphql-directives-linked-data@inrupt/experimental-graphql-directives-solid@inrupt/experimental-graphql-introspection-ontology@inrupt/experimental-sparql-solid-utils@inrupt/experimental-sparql-utils@inrupt/vocab-common-rdf-rdfdatafactory@inrupt/vocab-common-rdf-rdfjs-rdfdatafactory@inrupt/vocab-common-rdf-solidcommonvocab@inrupt/vocab-common-rdf-solidcommonvocab-rdfdatafactory@inrupt/vocab-common-rdf-vocabterm@inrupt/vocab-common-rdf-vocabterm-rdfjs-rdfdatafactory@inrupt/vocab-inrupt-core-rdfdatafactory@inrupt/vocab-inrupt-core-rdfjs-rdfdatafactory@inrupt/vocab-solid-vocabterm@inrupt/vocab-solid-vocabterm-rdfjs-rdfdatafactory@inrupt/solid-common-vocab@inrupt/vocab-inrupt-core-solidcommonvocab@inrupt/vocab-inrupt-core-solidcommonvocab-rdfdatafactory@inrupt/vocab-inrupt-core-vocabterm@inrupt/vocab-inrupt-core-vocabterm-rdfjs-rdfdatafactory@inrupt/vocab-inrupt-test-rdfdatafactory@inrupt/vocab-inrupt-test-rdfjs-rdfdatafactory
1.1.0

2 years ago

1.1.0-next.1

2 years ago

1.1.0-next.0

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago