New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pome-data-plugin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pome-data-plugin

pome-data-plugin

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

pome-data-plugin

Config data plugin for pome(a fast,scalable,distributed game server framework for Node.js. http://pome.netease.com), it can be used in pome(>=0.7.0).

pome-data-plugin is a config data(.csv) plugin for pome. pome-data-plugin can watch all config files in the given dir and reload the file automatically when it is modified.

##Installation

npm install pome-data-plugin

##Usage

var dataPlugin = require('pome-data-plugin');
... ...
app.configure('production|development', function() {
  ...
  app.use(dataPlugin, {
    watcher: {
      dir: __dirname + '/config/data',
      idx: 'id',
      interval: 3000
    }
  });
  ...
});
... ...
... ...
var npcTalkConf = app.get('dataService').get('npc_talk');
... ...
... ...

Please refer to pome-data-plugin-demo

FAQs

Package last updated on 09 Dec 2016

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