All Projects → coryrylan → ngx-json-ld

coryrylan / ngx-json-ld

Licence: other
📝 A small component to easily bind JSON-LD schema to Angular templates.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to ngx-json-ld

schemaorg-jsd
JSON Schema validation for JSON-LD files using Schema.org vocabulary.
Stars: ✭ 16 (-44.83%)
Mutual labels:  schema-org, json-ld
Schema.net
Schema.org objects turned into strongly typed C# POCO classes for use in .NET. All classes can be serialized into JSON/JSON-LD and XML, typically used to represent structured data in the head section of html page.
Stars: ✭ 336 (+1058.62%)
Mutual labels:  schema-org, json-ld
WG3-MetadataSpecifications
WG3 Metadata Specification
Stars: ✭ 25 (-13.79%)
Mutual labels:  schema-org, json-ld
React Schemaorg
Type-checked Schema.org JSON-LD for React
Stars: ✭ 262 (+803.45%)
Mutual labels:  schema-org, json-ld
Structured Data Testing Tool
A library and command line tool to help inspect and test for Structured Data.
Stars: ✭ 34 (+17.24%)
Mutual labels:  schema-org, json-ld
php-schema.org-mapping
A fluent interface to create mappings using Schema.org for Microdata and JSON-LD.
Stars: ✭ 31 (+6.9%)
Mutual labels:  schema-org, json-ld
Jsonld
JSON-LD processor for PHP
Stars: ✭ 280 (+865.52%)
Mutual labels:  schema-org, json-ld
seomate
SEO, mate! It's important. That's why SEOMate provides the tools you need to craft all the meta tags, sitemaps and JSON-LD microdata you need - in one highly configurable, open and friendly package - with a super-light footprint.
Stars: ✭ 31 (+6.9%)
Mutual labels:  schema-org, json-ld
Json Silo
Contextual data silo for the IoT and Smart Spaces. We believe in an open Internet of Things.
Stars: ✭ 10 (-65.52%)
Mutual labels:  schema-org, json-ld
Schema Generator
PHP Model Scaffolding from Schema.org and other RDF vocabularies
Stars: ✭ 379 (+1206.9%)
Mutual labels:  schema-org, json-ld
Schema Dts
JSON-LD TypeScript types for Schema.org vocabulary
Stars: ✭ 338 (+1065.52%)
Mutual labels:  schema-org, json-ld
schema-dot-org
Validated structured data for websites
Stars: ✭ 42 (+44.83%)
Mutual labels:  schema-org, json-ld
React Structured Data
React Structured Data provides an easy way to add structured data to your React apps
Stars: ✭ 120 (+313.79%)
Mutual labels:  schema-org, json-ld
ddi-xslt
XSLT transformations for DDI XML-files to other formats
Stars: ✭ 21 (-27.59%)
Mutual labels:  schema-org, json-ld
puppy-love
A cryptographically secure couple matching platform with strong guarantees
Stars: ✭ 61 (+110.34%)
Mutual labels:  angular2
linked-places-format
Linked Places format is used to describe attestations of places in a standard way, primarily for linking gazetteer datasets.
Stars: ✭ 54 (+86.21%)
Mutual labels:  json-ld
material-todo
Angular Material Design Todo App
Stars: ✭ 27 (-6.9%)
Mutual labels:  angular2
angular-preloading-strategies
A demo of custom preloading strategies with Angular
Stars: ✭ 13 (-55.17%)
Mutual labels:  angular2
nodeJS examples
Server, routing, db examples using NodeJS v6
Stars: ✭ 34 (+17.24%)
Mutual labels:  angular2
paper-dashboard-angular
Angular version of the original Paper Dashboard.
Stars: ✭ 142 (+389.66%)
Mutual labels:  angular2

This project has moved and can now be found here.

ngx-json-ld

A small component to easily bind JSON-LD schema to Angular templates.

Demo

Installation

To install this library, run:

$ npm install ngx-json-ld --save

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import library module
import { NgxJsonLdModule } from 'ngx-json-ld';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    // Register module
    NgxJsonLdModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Component

Once the library is imported, you can use the ngx-json-ld component.

@Component({
  selector: 'app',
  template: `<ngx-json-ld [json]="schema"></ngx-json-ld>`
})
class AppComponent {
  schema = {
    '@context': 'http://schema.org',
    '@type': 'WebSite',
    'name': 'angular.io',
    'url': 'https://angular.io'
  };
}

Output

<ngx-json-ld>
  <script type="application/ld+json">
    {
      "@context": "http://schema.org",
      "@type": "WebSite",
      "name": "angular.io",
      "url": "https://angular.io"
    }
  </script>
</ngx-json-ld>

License

MIT © Cory Rylan

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].