ts-sparql
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

TS SPARQL

TS SPARQL is an object to SPARQL mapper

Connection

const tsSparql = TsSparql.init(options);

Options

Property Description

Models

Definition

@Entity('user')
export class User {
    @Id()
    @Property()
    public id: string;
}

Entity

Decorating a class with the Entity decorator.

Storage

{
    "keys": ["user"],
    "default": "",
    "prefixes": {
        "user": {}
    },
    "ids": {
        "user": "id"
    },
    "properties": {
        "user": [
            {
                "key": "key",
                "prefix": "aasdgasg",
                "literal": true
            }
        ]
    }
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    2
  • 0.1.1
    0
  • 0.0.2
    0

Package Sidebar

Install

npm i ts-sparql

Weekly Downloads

2

Version

0.2.0

License

ISC

Unpacked Size

36.6 kB

Total Files

48

Last publish

Collaborators

  • luxbe