Skip to content

semanticprogrammer/client-server-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

This project show how to create javascript module that can be used for both client and server.

The following statement used as prove that module really able to work on server side:

console.log(serverModule.description());

To see the prove if the same module also is working on client, start application and open web page with the following url: "http://localhost:3000".
Then press button "Test Module Pattern". Alert window will appear and present message returned from called module's method.

About

Present how to create module that can be used on client and server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published