npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@lblod/ember-rdfa-editor-import-snippet-plugin

v1.0.0-alpha.1

Published

The default blueprint for ember-cli addons.

Downloads

10

Readme

@lblod/ember-rdfa-editor-import-snippet-plugin

Plugin allowing importing of external RDFA snippets and inserting it in the document.

Compatibility

  • Ember.js v3.16 or above
  • Ember CLI v2.13 or above
  • Node.js v10 or above

Installation

ember install @lblod/ember-rdfa-editor-import-snippet-plugin

Usage

This plugin contains two services.

import-rdfa-snippet

The main entry point to fetch an external RDFA snippet, process it and store it.

How to use it

import { inject as service } from '@ember/service';


// An entry point to download the resouce (e.g a route) in your host app.
// (...)

    let downloadData = { source: http://remote/resource.html }
    await this.importRdfaSnippet.downloadSnippet(downloadData);

The service has two public properties availible you can use in the host app, to e.g. notify the users or manage the snippets

  errors: A([]),
  snippets: A([])

How to trigger it on GN

This is just an example for developers on how to trigger this plugin and check if the changes made to the package work. 1 - First go to this url: https://dev.kleinbord.lblod.info/select-road-sign 2 - Fill the form and press the button 3 - GN will open and you have to go to a new or existing meeting, and edit a behandeling. 4 - Then you have 2 different options: the first one is to click on the template button and select directly the "document invoegen" in order to insert the data into the document. The second one is to insert a besluit and insert the data as an attachment,for this you will need to insert a besluit template and click on the button "Bijlage invoegen"

rdfa-editor-import-snippet-plugin

This is the main plugin service, to be used as other plugins. This will scan the document and see whether it can match snippets with resources in your document.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.