Installation
npm install --save serializerjs
ES6 (ES2015)
import SerializerFactory from 'serializerjs';
// access to the other elements of the package:
import SerializerInterface from 'serializerjs'.SerializerInterface;
// or
const SerializerInterface = SerializerFactory.SerializerInterface;
// or
import SerializerInterface from 'serializerjs/lib/Serializer/SerializerInterface';
Nodejs/ES5
var SerializerFactory = require('serializerjs');
// access to the other elements of the package:
var SerializerInterface = SerializerFactory.SerializerInterface;
// or
var SerializerInterface = require('serializerjs/lib/Serializer/SerializerInterface');
Back to Overview