@advanced-rest-client/arc-filesystem

A module with components and mixin function that adds support for filesystem processing in Advanced REST client

Usage no npm install needed!

<script type="module">
  import advancedRestClientArcFilesystem from 'https://cdn.skypack.dev/@advanced-rest-client/arc-filesystem';
</script>

README

arc-filesystem

A module with components and mixin function that adds support for filesystem processing in Advanced REST client

Published on NPM

Build Status

Usage

Installation

npm install --save @advanced-rest-client/arc-filesystem

ArcFileDropMixin

A mixin with common function used to drag and drop file import in Advanced REST Client.

import { LitElement, html } from 'lit-element';
import { ArcFileDropMixin } from '@advanced-rest-client/arc-filesystem';

class SampleElement extends ArcFileDropMixin(LitElement) {
  render() {
    return html`
    <h1>Drop file here</h1>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/advanced-rest-client/arc-filesystem
cd arc-filesystem
npm install

Running the tests

npm test