@apify/storage-local

Drop in replacement of Apify API with a local SQLite and filesystem implementation. Not all API features are supported.

Usage no npm install needed!

<script type="module">
  import apifyStorageLocal from 'https://cdn.skypack.dev/@apify/storage-local';
</script>

README

Local Emulation of Apify Storage

This package helps with local development of Apify Actors, by providing an emulation layer for Apify cloud Storage. Interface of this package replicates the Apify API client for JavaScript and can be used as its local replacement.

Apify SDK is the main consumer of this package. It allows the SDK to be used without access to the Apify Platform.

How to build from source

If you are working on this module, or would like to contribute to it, and need to test your changes locally, here are the build steps to get this module up and running.

  1. Install dependencies via npm i
  2. Run the build script (npm run build)

The compiled code will be found in the dist folder that gets created.