Package Exports
- @wedxml/null-saver
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@wedxml/null-saver) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Introduction
This package provides a saver that does nothing. This saver does not raise any errors. Recoveries are always considered to be successful, even though nothing happened.
This saver is not meant for production, but only for testing or demos that do not need to save data.
How to Use
You need to setup your container so that it uses the NullSaver class
exported by the @wedxml/null-saver package.
import { Container } from "inversify";
import { NullSaver } from "@wedxml/null-saver";
import { SAVER_OPTIONS } from "@wedxml/base-saver/tokens";
import { SAVER } from "@wedxml/common/tokens";
const container = new Container();
container.bind(SAVER).to(NullSaver);
container.bind(SAVER_OPTIONS).toConstantValue({});License
This package is released under the Mozilla Public License version 2.0. Copyright Mangalam Research Center for Buddhist Languages, Berkeley, CA.
Acknowledgments
Wed is tested using BrowserStack. BrowserStack provides this service for free under their program for supporting open-source software.
Credits
This package is designed and developed by Louis-Dominique Dubeau, Director of Software Development for the Buddhist Translators Workbench project, Mangalam Research Center for Buddhist Languages.
