@36node/redux-xlsx
An redux libary for xlsx manipulation
Last updated 8 months ago by zzswang .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @36node/redux-xlsx 
SYNC missed versions from official npm registry.

@36node/redux-xlsx

version downloads

Work with Xlsx and redux, focus on manage xlsx data in state, import from file to state, and export from state to file.

Xlsx Actions

import { makeXlsx } from "@36node/redux";

/**
 * columns structure same as antd table, ref
 * https://ant.design/components/table-cn/#%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8
 */
const xlsx = makeXlsx("someKey", { columns });

// start cron
dispatch(xlsx.import({ file }));
// stop xlsx
dispatch(xlsx.export({ rows }));

Xlsx Reducer

import { xlsxReducerRoot } from "@36node/redux";

export default combineReducers({
  ...xlsxReducerRoot,
});

Xlsx Selector

import { makeXlsxSelector } from "@36node/redux";

const select = makeXlsxSelector("someKey");
const some = select(state);

Xlsx Saga

redux-xlsx should use with saga.

import { fork, all } from "redux-saga/effects";
import { watchXlsx } from "@36node/redux-xlsx";

export default function* root() {
  yield all([fork(watchXlsx)]);
}

Current Tags

  • 0.1.19                                ...           latest (8 months ago)

42 Versions

  • 0.1.19                                ...           8 months ago
  • 0.1.18                                ...           9 months ago
  • 0.1.17                                ...           9 months ago
  • 0.1.16                                ...           9 months ago
  • 0.1.15                                ...           9 months ago
  • 0.1.14                                ...           9 months ago
  • 0.1.13                                ...           10 months ago
  • 0.1.12                                ...           10 months ago
  • 0.1.11                                ...           10 months ago
  • 0.1.10                                ...           10 months ago
  • 0.1.9                                ...           10 months ago
  • 0.1.8                                ...           10 months ago
  • 0.1.7                                ...           10 months ago
  • 0.1.5                                ...           10 months ago
  • 0.1.4                                ...           10 months ago
  • 0.1.3                                ...           10 months ago
  • 0.1.2                                ...           10 months ago
  • 0.1.1                                ...           a year ago
  • 0.0.26                                ...           a year ago
  • 0.0.25                                ...           a year ago
  • 0.0.24                                ...           a year ago
  • 0.0.23                                ...           a year ago
  • 0.0.22                                ...           a year ago
  • 0.0.21                                ...           a year ago
  • 0.0.20                                ...           a year ago
  • 0.0.19                                ...           a year ago
  • 0.0.18                                ...           a year ago
  • 0.0.17                                ...           a year ago
  • 0.0.16                                ...           a year ago
  • 0.0.15                                ...           a year ago
  • 0.0.14                                ...           a year ago
  • 0.0.13                                ...           a year ago
  • 0.0.12                                ...           a year ago
  • 0.0.11                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
Downloads
Today 0
This Week 42
This Month 42
Last Day 0
Last Week 0
Last Month 125
Dependencies (2)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |