🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more →
Socket
Book a DemoInstallSign in
Socket

@nteract/core

Package Overview
Dependencies
Maintainers
17
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nteract/core

core modules and components for nteract apps

latest
npmnpm
Version
15.1.9
Version published
Maintainers
17
Created
Source

@nteract/core

This package is a package the encapsulates and exports the packages defined in @nteract/actions, @nteract/reducers, @nteract/epics, @nteract/types, and @nteract/selectors.

Installation

$ yarn add @nteract/core
$ npm install --save @nteract/core

Usage

The example below shows how we can use the functions within this package to set the isSaving property on a notebook state. Note that this is the same example code for the @nteract/reducers package, but we are able to use a single dependency on the @nteract/core package to deliver the functionality instead of relying on different dependencies.

import { state, reducers, actions } from "@nteract/core";

export default () => {
  const originalState = state.makeAppRecord({
    isSaving: true
  });
  reducers.core.app(originalState, actions.saveFulfilled({}));
};

Documentation

We're working on adding more documentation for this component. Stay tuned by watching this repository!

Support

If you experience an issue while using this package or have a feature request, please file an issue on the issue board and add the pkg:core label.

License

BSD-3-Clause

Keywords

nteract

FAQs

Package last updated on 20 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts