Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jahcode

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jahcode

Scala like Classes and Traits in JavaScript

  • 1.1.6
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

JavaScript Classes and Traits

A framework to declare Classes and Traits with ease in JavaScript. Inheritance of Classes and Traits is mapped onto the native Prototype model of JS which makes it stable and fast.

Jahcode runs in all modern browsers as well as in Node.js.

For documentation see http://jahcode.com

Setup

Just use jahcode.js for development or the minified jahcode.min.js for production environments.

Jahcode has no external dependencies unless you would like to support non-ECMA-5 browsers. For those, use the referenced shims form the lib folder. Use both es5.shim.js and es5.sham.js to get most of the ECMA 5 features in older engines.

Running the Tests

The tests for jahcode are written with jasmine can can be executed in node.js and browsers.

  • To run the tests in a browser just open test/SpecRunner.html
  • To run the tests in node.js install jahcode via npm and run the tests with jasmine-node test

Keywords

FAQs

Package last updated on 09 Mar 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc