@nireno/reasonably-typed

0.18.1 • Public • Published

reasonably-typed

Experimenting with some bucklescript bindings for nodejs packages I use.

Get started

let (instance, logger) = Pino.make();
logger.info("Hello");

See tests and examples for more.

Testing - Setup postgres session store database

sudo -s -u postgres
createuser --pwprompt throwaway
createdb --owner throwaway throwaway
psql --host 127.0.0.1 -U throwaway -d throwaway

CREATE TABLE "session" (
  "sid" varchar NOT NULL COLLATE "default",
	"sess" json NOT NULL,
	"expire" timestamp(6) NOT NULL
)
WITH (OIDS=FALSE);

ALTER TABLE "session" ADD CONSTRAINT "session_pkey" PRIMARY KEY ("sid") NOT DEFERRABLE INITIALLY IMMEDIATE;

CREATE INDEX "IDX_session_expire" ON "session" ("expire");

Readme

Keywords

Package Sidebar

Install

npm i @nireno/reasonably-typed

Weekly Downloads

0

Version

0.18.1

License

MIT

Unpacked Size

21.6 kB

Total Files

31

Last publish

Collaborators

  • nireno