Skip to content

WebReflection/js-in-json-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS in JSON Session

JS

import Session from 'js-in-json-session';

const session = new Session(jsonBundle);

session.add('Module');
const output = session.flush();

PHP

session.php

include(__DIR__.'/session.php');

$session = new JSinJSON\Session($jsonBundle);
$session->add('Module');
$output = $session->flush();

Python

session.py

from session import Session

session = Session(jsonBundle)
session.add('Module')
output = session.flush()

About

Zero dependencies Session code for JS in JSON project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published