Subscribe: Recent JSAN Uploads
http://openjsan.org/recent.rss
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
classes  github  hash hash  hash sha  hash text  hash  joose  json  method  methods  object  sha hash  sha  text hash  text 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Recent JSAN Uploads

Recent JSAN Uploads



Recent JavaScript Distributions submitted to the JavaScript Archive Network (JSAN)



Published: 2011-08-07T08:29:20

 



-

2011-08-07T08:29:20





-

2011-08-07T08:29:20





-code_page.htm

2010-12-18T22:29:01





Task.Joose.NodeJS-0.07

2010-10-19T11:29:02

Joose, packaged with NodeJS flavour



Task.Joose.NodeJS-0.06

2010-10-11T10:29:01

Joose, packaged with NodeJS flavour



KiokuJS.Backend.Batch-0.01

2010-10-11T09:29:01

Some clever yet compact description



KiokuJS.Backend.CouchDB-0.01

2010-10-11T08:29:07

Some clever yet compact description



Test.Run-0.10

2010-10-11T08:29:07

Yet another JavaScript testing platform, running on Joose3 + bridge to ExtJS



JooseX.Attribute-0.08

2010-10-11T08:29:05

Additional features for Joose attributes



KiokuJS-0.01

2010-10-11T08:29:05

Name
====


KiokuJS - Some clever yet compact description


SYNOPSIS
========

        Class("KiokuJS", {
        
        })
        
        var instance = new KiokuJS({
        })
        


DESCRIPTION
===========

`KiokuJS` is a stub for JSAN modules.



EXAMPLES
========


GETTING HELP
============

This extension is supported via github issues tracker: <http://github.com/SamuraiJack/KiokuJS/issues>

For general Joose questions you can also visit #joose on irc.freenode.org or the forum at: <http://joose.it/forum>
 


SEE ALSO
========

Web page of this module: <http://github.com/SamuraiJack/KiokuJS/>

General documentation for Joose: <http://openjsan.org/go/?l=Joose>


BUGS
====

All complex software has bugs lurking in it, and this module is no exception.

Please report any bugs through the web interface at <http://github.com/SamuraiJack/KiokuJS/issues>



AUTHORS
=======

Nickolay Platonov <nplatonov@cpan.org>



COPYRIGHT AND LICENSE
=====================

Copyright (c) 2009, Nickolay Platonov

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Nickolay Platonov nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 



HTTP.Request.Provider-0.01

2010-10-11T08:29:02

Some clever yet compact description



Data.Visitor-0.01

2010-10-11T08:29:02

Visitor style traversal of JavaScript data structures



Joose-3.013

2010-10-11T08:29:02

Name ==== Joose - A postmodern class system for JavaScript SYNOPSIS ======== Class("Point", { has: { x: {is: "ro"}, y: {is: "rw"}, }, methods: { clear: function () { var x = this.getX() this.setY(0) } } }) Class("Point.ThreeD", { isa: Point, has: { z: {} }, after: { clear: function () { this.z = 0 } } }) var point = new Point.ThreeD({ x : 1, y : 2, z : 3 }) DESCRIPTION =========== Joose is a self-hosting meta object system for JavaScript with support for classes, inheritance, roles (aka traits), method modifiers and much more. The main goal of Joose is to make JavaScript Object Oriented Programming easier, more consistent and less tedious. With Joose you can to think more about what you want to do and less about the mechanics of OOP. The Joose framework has been successfully used in multiple production systems for twelve months now and has been proven to be very stable. Joose is being tested using an automated unit-test suite that is being run in all major browsers (Firefox, IE, Safari, Opera and Chrome). Joose core package is only 8kb (YUI+gz). New to Joose? ------------- If you're new to Joose, the best place to start is the [Joose.Manual][1] docs, followed by the [Joose.Cookbook][2]. The intro will show you what Joose is, and how it makes JavaScript OO better. The cookbook recipes on Joose basics will get you up to speed with many of Joose's features quickly. Once you have an idea of what Joose can do, you can use the API documentation to get more detail on features which interest you. BUILDING CLASSES WITH JOOSE =========================== Joose makes every attempt to provide as much convenience as possible during class construction/definition, but still stay out of your way if you want it to. Here are a few items to note when building classes with Joose. - Unless specified with 'isa', any class which uses Joose will inherit from Joose.Meta.Object. PROVIDED INSTANCE METHODS ========================= Joose provides a number of methods to all your classes, mostly through the inheritance from Joose.Meta.Object. - `this.SUPER(arg1, arg2, ...)` Only valid in the scope of usual methods and OVERRIDE method modifiers. Calls a superclass's method with the arguments provided. - `this.SUPERARG(Array arg)` Only valid in the scope of usual methods and OVERRIDE method modifiers. Calls a superclass's method with the "packed" arguments, provided as array. Usually used as: `this.SUPERARG(arguments)` This method is just a shortcut for `this.SUPER.apply(this, arguments)` - `this.BUILD([Object arg])` Default `BUILD` method checks whether the 1st argument passed to it is an Object. If so, it passes it to `initialize` method. This method also optionally *detaches* current instance. See [Joose.Manual.Traits][traits] for details. - `this.initialize(Object properties)` Default `initialize` method uses `properties` to initialize the attributes of current instance. - `this.toString()` Defalt string coercion is string "a ClassName", where ClassName is a name of instance's class. PROVIDED INSTANCE PROPERTIES ============================ Joose provides a number of properties to all instances of your classes. - `this.constructor` A class with which `this` i[...]



Data.UUID-0.03

2010-10-11T08:29:01

RFC4122v4 complaint UUIDs



JooseX.Attribute-0.07

2010-10-06T04:29:01

Additional features for Joose attributes



JooseX.Namespace.Depended-0.10

2010-10-05T05:29:02

Cross-platform (browser/NodeJS), non-blocking, dependencies handling implementation, integrated with Joose3



JooseX.CPS-0.12

2010-10-05T05:29:01

Continuation Passing Style for Joose classes



JooseX.Attribute-0.06

2010-10-05T04:29:04

Additional features for Joose attributes



Joose-3.012

2010-10-05T04:29:01

Name ==== Joose - A postmodern class system for JavaScript SYNOPSIS ======== Class("Point", { has: { x: {is: "ro"}, y: {is: "rw"}, }, methods: { clear: function () { var x = this.getX() this.setY(0) } } }) Class("Point.ThreeD", { isa: Point, has: { z: {} }, after: { clear: function () { this.z = 0 } } }) var point = new Point.ThreeD({ x : 1, y : 2, z : 3 }) DESCRIPTION =========== Joose is a self-hosting meta object system for JavaScript with support for classes, inheritance, roles (aka traits), method modifiers and much more. The main goal of Joose is to make JavaScript Object Oriented Programming easier, more consistent and less tedious. With Joose you can to think more about what you want to do and less about the mechanics of OOP. The Joose framework has been successfully used in multiple production systems for twelve months now and has been proven to be very stable. Joose is being tested using an automated unit-test suite that is being run in all major browsers (Firefox, IE, Safari, Opera and Chrome). Joose core package is only 8kb (YUI+gz). New to Joose? ------------- If you're new to Joose, the best place to start is the [Joose.Manual][1] docs, followed by the [Joose.Cookbook][2]. The intro will show you what Joose is, and how it makes JavaScript OO better. The cookbook recipes on Joose basics will get you up to speed with many of Joose's features quickly. Once you have an idea of what Joose can do, you can use the API documentation to get more detail on features which interest you. BUILDING CLASSES WITH JOOSE =========================== Joose makes every attempt to provide as much convenience as possible during class construction/definition, but still stay out of your way if you want it to. Here are a few items to note when building classes with Joose. - Unless specified with 'isa', any class which uses Joose will inherit from Joose.Meta.Object. PROVIDED INSTANCE METHODS ========================= Joose provides a number of methods to all your classes, mostly through the inheritance from Joose.Meta.Object. - `this.SUPER(arg1, arg2, ...)` Only valid in the scope of usual methods and OVERRIDE method modifiers. Calls a superclass's method with the arguments provided. - `this.SUPERARG(Array arg)` Only valid in the scope of usual methods and OVERRIDE method modifiers. Calls a superclass's method with the "packed" arguments, provided as array. Usually used as: `this.SUPERARG(arguments)` This method is just a shortcut for `this.SUPER.apply(this, arguments)` - `this.BUILD([Object arg])` Default `BUILD` method checks whether the 1st argument passed to it is an Object. If so, it passes it to `initialize` method. This method also optionally *detaches* current instance. See [Joose.Manual.Traits][traits] for details. - `this.initialize(Object properties)` Default `initialize` method uses `properties` to initialize the attributes of current instance. - `this.toString()` Defalt string coercion is string "a ClassName", where ClassName is a name of instance's class. PROVIDED INSTANCE P[...]



Hash-0.06

2010-09-10T14:29:01

Name ==== Hash - provides MD5, SHA-1, SHA-256, SHA-512, and RIPEMD-160 cryptographic hash algorithms for JavaScript. Adapted from [Paul Johnston's](http://pajhome.org.uk/crypt/index.html) BSD-licensed cryptography library. SYNOPSIS ======== Node example: require('joose') require('joosex-namespace-depended') require('hash') // define some text you wish to hash var text = 'Some amazing text.' // hash it using MD5 var hash = Hash.md5(text) // => '8dc6e489042b35c41f38319f1702e829' // hash it with SHA-1 hash2 = Hash.sha1(text) // => '5fa88652f6cfe865a6b2bed2d2e658d7e12d5ea8' // hash it with SHA-256 hash3 = Hash.sha256(text) // => 'b291f7ca30c306cc5e96ce8b046e5656c05b7621eb848ed4b180fb3b25b19d8d' // hash it with SHA-512 hash4 = Hash.sha512(text) // => '2e74135091d583c0a2b0db5c4a0902fc3b75ec2b6b5c27fea1fb77e2cb0e14ed7922cc5f618b90f2511cc711a287d8881e76dea1697c5a4e788d78e52df53efc' // hash it with RIPEMD-160 hash5 = Hash.rmd160(text) // => 'bfda47b1b4574be552617212c80ad29687596193' DESCRIPTION =========== `Hash` is a small collection of Joose3 classes which provide cryptographic hash algorithms for string types, implemented as static methods. The module is usable both server-side with node and in a browser environment. Extenstive testing has been conducted against large collections of UTF-8 and ASCII encoded strings to better ensure the reliability of these implementations. Canonical hashes were generated with Linux userland utilities, for comparison. INSTALLATION ============ For node, [npm](http://github.com/isaacs/npm) provides the simplest install: npm install hash If you've not yet installed Joose3 or JooseX.Namespace.Depended: `npm install joose joosex-namespace-depended`. METHODS ======= The hash sum calculators are available as static methods in the Hash.MD5, Hash.SHA1, Hash.SHA256, Hash.SHA512, and Hash.RIPEMD160 classes: Hash.MD5.hex_md5('text') Hash.SHA1.hex_sha1('text') Hash.SHA256.hex_sha256('text') Hash.SHA512.hex_sha512('text') Hash.RIPEMD160.hex_rmd160('text') -or, for convenience- Hash.md5('text') Hash.sha1('text') Hash.sha256('text') Hash.sha512('text') Hash.rmd160('text') Performance considerations -------------------------- It should be noted that md5() is somewhat less CPU intensive than the other methods. Keep this in mind if you'll be hashing message payloads in a high-throughput scenario where latency is a concern. Hashing JSON ----------- If you intend to hash over JSON objects, remember object-key order is not guaranteed; therefore it's not sufficient to JSON.stringify() an object and hash over that string. You would need first to serialize the object and any child objects into a collection of arrays, sorted lexographically (recursively) by key name. An "object to array" helper method, `Hash.oTa()`, is provided for this purpose. ### Hash.oTa() -- helper method ### var ob1 = { key1 : "Some value", key2 : { A : "one", B : [0,1,2] }, key3 : 5 } var ob2 = { key1 : "Some value", key3 : 5, key2 : { B : [0,1,2], A : "one" } } var oTa_ob1 = JSON.stringify(Hash.oTa(ob1)) var oTa_ob2 = JS[...]



JooseX.Namespace.Depended-0.08

2010-09-10T07:29:02

Cross-platform (browser/NodeJS), non-blocking, dependencies handling implementation, integrated with Joose3



JooseX.Attribute-0.05

2010-09-10T07:29:02

Additional features for Joose attributes



JooseX.CPS-0.11

2010-09-07T08:29:01

Continuation Passing Style for Joose classes



JooseX.CPS-0.10

2010-09-07T07:29:01

Continuation Passing Style for Joose classes



Hash-0.03

2010-09-04T15:29:02

Name
====

Hash - provides MD5 and SHA-256 cryptographic hashing methods for JavaScript.

The module is usable both server-side with node and in a browser environment.  Extenstive testing has been conducted against large collections of UTF-8 and ASCII encoded strings to better ensure the reliability of these implementations.


SYNOPSIS
========

Node example:

        require('hash/Task/Hash/Bundle') // <= combined Joose3 + Hash lib 

        // define some text you wish to hash

        var text = 'Some amazing text.'

        // hash it using MD5

        var hash = Hash.MD5.hash(text) // => '8dc6e489042b35c41f38319f1702e829'

        // or hash it with SHA-256

        hash2 = Hash.SHA256.hash(text) => 'b291f7ca30c306cc5e96ce8b046e5656c05b7621eb848ed4b180fb3b25b19d8d'


DESCRIPTION
===========

`Hash` is a small collection of Joose3 classes which provide cryptographic hash routines for string types, implemented as static methods.


INSTALLATION
============

For node, [npm](http://github.com/isaacs/npm) provides the simplest install:

       npm install hash


METHODS
=======

Presently the MD5 and SHA-256 routines are available as static methods in the Hash.MD5 and Hash.SHA256 classes:

        Hash.MD5.hash('text')

        -and-

        Hash.SHA256.hash('text')


It should be noted that MD5.hash() is somewhat less CPU intensive than SHA256.hash().  Keep this in mind if you'll be hashing message payloads in a high-throughput scenario where latency is a concern.

NOTE: if you intend to hash over JSON objects, remember object-key order is not guaranteed; therefore it's not sufficient to JSON.stringify() an object and hash over that string. You would need first to serialize the object and any child objects into a collection of arrays, sorted lexographically (recursively) by key name.


GETTING HELP
============

This extension is supported via github issues tracker: <http://github.com/michaelsbradleyjr/Hash/issues>

For general Joose questions you can also visit [#joose](http://webchat.freenode.net/?randomnick=1&channels=joose&prompt=1) 
on irc.freenode.org or mailing list at: <http://groups.google.com/group/joose-js>
 


SEE ALSO
========

Web page of this module: <http://github.com/michaelsbradleyjr/Hash/>

General documentation for Joose: <http://openjsan.org/go/?l=Joose>


BUGS
====

All complex software has bugs lurking in it, and this module is no exception.

Please report any bugs through the web interface at <http://github.com/michaelsbradleyjr/Hash/issues>



AUTHORS
=======

Michael Bradley, Jr. <michaelsbradleyjr@gmail.com>


COPYRIGHT AND LICENSE
=====================

This software is Copyright (c) 2010 by Michael Bradley, Jr..

This is free software, licensed under:

  The MIT (X11) License




Hash-0.02

2010-09-04T15:29:01

Name
====

Hash - provides MD5 and SHA-256 cryptographic hashing methods.

The module is usable both server-side with node and in a browser environment.  Extenstive testing has been conducted against large collections of UTF-8 and ASCII encoded strings to better ensure the reliability of these implementations.


SYNOPSIS
========

Node example:

        require('hash')

        // define some text you wish to hash

        var text = 'Some amazing text.'

        // hash it using MD5

        var hash = Hash.MD5.hash(text) // => '8dc6e489042b35c41f38319f1702e829'

        // or hash it with SHA-256

        hash2 = Hash.SHA256.hash(text) => 'b291f7ca30c306cc5e96ce8b046e5656c05b7621eb848ed4b180fb3b25b19d8d'


DESCRIPTION
===========

`Hash` is a small collection of Joose3 classes which provide cryptographic hash routines for string types, implemented as static methods.


INSTALLATION
============

For node, [npm](http://github.com/isaacs/npm) provides the simplest install:

       npm install hash


METHODS
=======

Presently the MD5 and SHA-256 routines are available as static methods in the Hash.MD5 and Hash.SHA256 classes:

        Hash.MD5.hash('text')

        -and-

        Hash.SHA256.hash('text')


It should be noted that MD5.hash() is somewhat less CPU intensive than SHA256.hash().  Keep this in mind if you'll be hashing message payloads in a high-throughput scenario where latency is a concern.

NOTE: if you intend to hash over JSON objects, remember object-key order is not guaranteed; therefore it's not sufficient to JSON.stringify() an object and hash over that string. You would need first to serialize the object and any child objects into a collection of arrays, sorted lexographically (recursively) by key name.


GETTING HELP
============

This extension is supported via github issues tracker: <http://github.com/michaelsbradleyjr/Hash/issues>

For general Joose questions you can also visit [#joose](http://webchat.freenode.net/?randomnick=1&channels=joose&prompt=1) 
on irc.freenode.org or mailing list at: <http://groups.google.com/group/joose-js>
 


SEE ALSO
========

Web page of this module: <http://github.com/michaelsbradleyjr/Hash/>

General documentation for Joose: <http://openjsan.org/go/?l=Joose>


BUGS
====

All complex software has bugs lurking in it, and this module is no exception.

Please report any bugs through the web interface at <http://github.com/michaelsbradleyjr/Hash/issues>



AUTHORS
=======

Michael Bradley, Jr. <michaelsbradleyjr@gmail.com>


COPYRIGHT AND LICENSE
=====================

This software is Copyright (c) 2010 by Michael Bradley, Jr..

This is free software, licensed under:

  The MIT (X11) License




Hash-0.01

2010-09-02T05:29:02

Name
====

Hash - provides MD5 and SHA-256 cryptographic hash routines, implemented as static methods within Joose3 classes.

The module is uesable both server-side with node and in a browser environment.


SYNOPSIS
========

Node example:

        require('hash')

        // define some text you wish to hash

        var text = 'Some amazing text.'

        // hash it using the MD5 routine

        var hash = Hash.MD5.hash(text) // => '8dc6e489042b35c41f38319f1702e829'

        // or the same text can be hashed with the SHA-256 routine

        hash2 = Hash.SHA256.my.hash(text) => 'b291f7ca30c306cc5e96ce8b046e5656c05b7621eb848ed4b180fb3b25b19d8d'


DESCRIPTION
===========

`Hash` is a small collection of Joose3 classes which provide cryptographic hash routines for string types, implemented as static methods.


METHODS
=======

Presently the MD5 and SHA-256 routines are available as static methods in the Hash.MD5 and Hash.SHA256 classes:

        Hash.MD5.hash('text')
and
        Hash.SHA256.hash('text')


It should be noted that the MD5.hash() method is a good deal less CPU intensive than the SHA256.hash() method.  Keep that in mind if your going to be hashing message payloads in a high-throughput scenario where latency is a concern.

NOTE: if you intend to hash over JSON objects, remember that key order is not guaranteed, and therefore it's not sufficient to JSON.stringify() an object -- you would need first to serialize the object and any child objects into a collection of arrays, sorted lexographically (recursively) by key name.


GETTING HELP
============

This extension is supported via github issues tracker: <http://github.com/michaelsbradleyjr/Hash/issues>

For general Joose questions you can also visit [#joose](http://webchat.freenode.net/?randomnick=1&channels=joose&prompt=1) 
on irc.freenode.org or mailing list at: <http://groups.google.com/group/joose-js>
 


SEE ALSO
========

Web page of this module: <http://github.com/michaelsbradleyjr/Hash/>

General documentation for Joose: <http://openjsan.org/go/?l=Joose>


BUGS
====

All complex software has bugs lurking in it, and this module is no exception.

Please report any bugs through the web interface at <http://github.com/michaelsbradleyjr/Hash/issues>



AUTHORS
=======

Michael Bradley, Jr. <michaelsbradleyjr@gmail.com>


COPYRIGHT AND LICENSE
=====================

This software is Copyright (c) 2010 by Michael Bradley, Jr..

This is free software, licensed under:

  The MIT (X11) License




JooseX.Namespace.Depended-0.07

2010-08-31T08:29:01

Cross-platform (browser/NodeJS), non-blocking, dependencies handling implementation, integrated with Joose3



JooseX.Namespace.Depended-0.06

2010-08-31T07:29:01

Cross-platform (browser/NodeJS), non-blocking, dependencies handling implementation, integrated with Joose3



JSON2-0.02

2010-08-30T05:29:02

Name
====

JSON2 - json2 / native JSON normalizer for Joose


SYNOPSIS
========

        // bunlde will include the json2 lib
        <script src = "/jsan/lib/Task/JSON2/Bundle">

        
        // `use` will load it on-demand (requires JooseX.Namespace.Depended)
        use('JSON2', function () {
        
            var str = JSON2.stringify([])
            
            var arr = JSON2.parse('[]')
        })

        


DESCRIPTION
===========

`JSON2` is a normalizing wrapper around the json2 library and native JSON implementation in supporting browsers.


USAGE
=====

Since its only a thin wrapper you should only use the features intersection between json2 & native JSON. For example,
seems the native implementation of `JSON.parse` in FF do not accept 2nd argument. 


GETTING HELP
============

This extension is supported via github issues tracker: <http://github.com/SamuraiJack/JSON2/issues>

For general Joose questions you can also visit [#joose](http://webchat.freenode.net/?randomnick=1&channels=joose&prompt=1) 
on irc.freenode.org or the mailing list at: <http://groups.google.com/group/joose-js>
 


SEE ALSO
========

[Using JSON in Firefox](https://developer.mozilla.org/en/Using_JSON_in_Firefox)

BUGS
====

All complex software has bugs lurking in it, and this module is no exception.

Please report any bugs through the web interface at <http://github.com/SamuraiJack/JSON2/issues>



AUTHORS
=======

Nickolay Platonov <nplatonov@cpan.org>





COPYRIGHT AND LICENSE
=====================

This software is Copyright (c) 2010 by Nickolay Platonov.

This is free software, licensed under:

  The GNU Lesser General Public License, Version 3, June 2007