Giter VIP home page Giter VIP logo

i18n-abide's Introduction

i18n-abide

This module abides by the user's language preferences and makes it available throughout the app.

This module abides by the Mozilla L10n way of doing things.

The module abides.

Status

Used in production systems, such as the Mozilla Persona service in 40+ languages.

Also used on other websites including:

  • Mozilla Webmaker

Supported Localization Technologies

This module supports several localization backends:

  • Gettext PO files (default and documented below)
  • Plist files
  • Transifex key-value-JSON files

This module supports client side as well as server side localization.

Usage

npm install i18n-abide

In this README, we'll use express and EJS templates, but other integrations are possible.

In your app where you setup express:

var i18n = require('i18n-abide');

app.use(i18n.abide({
  supported_languages: ['en-US', 'de', 'es', 'db-LB', 'it-CH'],
  default_lang: 'en-US',
  debug_lang: 'it-CH',
  translation_directory: 'i18n'
}));

This block sets up the middleware and views with gettext support. We declare support for English, German, Spanish, and two debug locales (more on this later).

In your routes, you can use the gettext function in .js files.

exports.homepage = function(req, resp) {
  resp.render('home', {title: req.gettext("Hey, careful, man, there's a beverage here!")});
};

In your layout files, you can add

<!DOCTYPE html>
<html lang="<%= lang %>" dir="<%= lang_dir %>">
  <head>
    <meta charset="utf-8">
    ...

In your templates files, you can use the gettext function in .ejs files:

<p><%= gettext("This will not stand, ya know, this aggression will not stand, man.") %></p>

i18n-abide also provides a format function for string interpolation.

This module provides both server side translations and client side translations. Server side works out of the box and is the most common use case.

If you also want to do client-side translations, i18n-abide provides lib/gettext.js and you can do the same in .js and .ejs files.

Setting Language via HTTP Header

The i18n-abide module uses the accept-language HTTP header to determine which language to use.

See API docs for overriding this via URL or the API directly.

Translation files

The i18n-abide module currently supports three file formats.

  1. PO/POT files, which get transformed to JSON via provided command line tools.

  2. PLIST (i.e., XML) files, which require no transformation prior to use.

  3. Transifex JSON (JavaScript Object Notation) a key-value JSON type, which require no transformation prior to use.

PO/POT files

This is the default and assumed for documentation in this README.

PO files can be compiled to .json or Gettext binary .mo files.

For use on the client side, PO files are compiled to JavaScript for easy inclusion into your page or build script.

NOTE: The PO/POT files are also transformed into .JSON, but do not follow the same layout as the Transifex JSON files.

See GETTEXT.md for more details.

Other file formats

See API for configuration and details around using Plist or Transifex localization files.

Debugging and Testing

db-LB is a special debug locale. To trigger it, set your Browser or Operating System language to Italian (Switzerland) which is it-CH. This fake locale db-LB will be triggered, it is David Bowie speak for the region of Labyrinth.

Oh, hell ya a "The Dude" / Bowie Mashup. That just happened.

Now, start up your Node server and visit a page you've wrapped strings in Gettext...

Tutorial

Mozilla Hacks blog has a three part introduction.

Docs

  • See USAGE for full details.
  • API docs has more advanced config options and APIs
  • GETTEXT documents how to use PO/POT files

i18n-abide's People

Contributors

alex-pl avatar alexcrack avatar alicoding avatar andylolz avatar callahad avatar cliftonc avatar clkao avatar fmarier avatar godsflaw avatar humphd avatar jaredhirsch avatar jeresig avatar jfhbrook avatar lexoyo avatar muffinresearch avatar mweibel avatar ozten avatar ozum avatar pdehaan avatar rfk avatar seanmonstar avatar sebastianhoitz avatar siongui avatar siranthony avatar tofumatt avatar toolness avatar vladikoff avatar xaiki avatar zaach avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

i18n-abide's Issues

Customize file path?

Hey there,

Great work on this library. It's very impressive in its breadth and depth and general thoroughness and quality. (That was a lot of "and"s!) Easily the best of the various ones I've looked at.

I only have one nitpick. =) If I'm using the JSON format, it feels very redundant to have my strings files be at [directory]/[locale]/messages.json. It also makes our workflow slightly harder to manage since sharing the files for multiple locales requires either renaming them or sharing folders as zips.

Would you be open to an option that allowed tweaking the structure in the case of JSON files at least? (It probably makes sense for plist too.)

Thanks much!

Edit: realized I never gave an example of what I'd tweak it to: just [directory]/[locale].json.

Release 0.0.8, fix NPM issue.

npm just (in the last 10 hours) updated their version of the semver library, which now normalizes pre-release tags into starting with a hyphen.

This breaks lockdown, since i18n-abide self-describes as 0.0.8beta9, but npm thinks of it as 0.0.8-beta9.

Grar.

We're not sure if this is a change that's here to stay or not, but one way we could fix it would be to just go ahead and publish 0.0.8, without any beta label attached.

@ozten, are you up for releasing 0.0.8?

add some null-checking in lib/i18n.js

See mozilla/fxa-content-server#933 (comment), where the failure to set a options.default_lang in options.supported_languages leads to a run time crash.

See https://github.com/mozilla/i18n-abide/blob/master/lib/i18n.js#L234, where at this time the code looks like:

        if (options.translation_type === 'plist' || options.translation_type === 'key-value-json') {
          if (translations[locale][sid] && translations[locale][sid].length) {
            return translations[locale][sid];
          } else {
            // Return the default lang's string if missing in the translation.
            return (translations[options.default_lang][sid] || sid);
          }
        }

and in particular return (translations[options.default_lang][sid] || sid); could use a safer check that translations[options.default_lang] is defined, and if not defined just fallback to return the original string. (Or it could also assert membership when the middleware is first setup and just loudly fail).

Property 'locals' of object #<ServerResponse> is not a function

node.js 0.10.29
express 4.4.4
i18n-abide 0.0.20

TypeError: Property 'locals' of object #<ServerResponse> is not a function
    at IncomingMessage.locals.setLocale (/mnt/work/PROJECTS/mycoolproject/payment/node_modules/i18n-abide/lib/i18n.js:218:14)
    at Object.module.exports [as handle] (/mnt/work/PROJECTS/mycoolproject/payment/routes/payment.js:26:9)
    at next_layer (/mnt/work/PROJECTS/mycoolproject/payment/node_modules/express/lib/router/route.js:103:13)
    at Route.dispatch (/mnt/work/PROJECTS/mycoolproject/payment/node_modules/express/lib/router/route.js:107:5)
    at /mnt/work/PROJECTS/mycoolproject/payment/node_modules/express/lib/router/index.js:213:24
    at Function.proto.process_params (/mnt/work/PROJECTS/mycoolproject/payment/node_modules/express/lib/router/index.js:286:12)
    at next (/mnt/work/PROJECTS/mycoolproject/payment/node_modules/express/lib/router/index.js:207:19)
    at Layer.handle (/mnt/work/PROJECTS/mycoolproject/payment/middleware/put_session_data.js:20:9)
    at trim_prefix (/mnt/work/PROJECTS/mycoolproject/payment/node_modules/express/lib/router/index.js:254:17)
    at /mnt/work/PROJECTS/mycoolproject/payment/node_modules/express/lib/router/index.js:216:9

Add support for non-PO localized resources

I'll start by saying that this may be a non-starter for you, and I'd totally understand if you WONTFIX'ed it.

We're working on localizing all of webmaker.org, which, like Persona, is a Mozilla node.js based project. We like a lot of what you're doing in i18n-abide, and we also like that it's being maintained by Mozilla. I've written about our plans here:

http://vocamus.net/dave/?p=1605

We also did a prototype of a simple webmaker style app here:

https://github.com/humphd/amore.webmaker.org

For our needs PO/POT/MO files aren't needed, and we want to instead use plist files and Transifex, with no build step. I wanted to know if you'd accept a patch to add plist support in addition to the way you're doing it.

extract-pot assumes .ejs templates

If your templates have a different extension, such as .html, then extract-pot will blow up:

input argument is required

Usage: jsxgettext <input>... [options]

input     input files

Options:
   -o FILE, --output FILE     write output to specified file
   -p DIR, --output-dir DIR   output files will be placed in directory DIR
   -v, --version              print version and exit
   -k WORD, --keyword WORD    additional keyword to be looked for
   -j, --join-existing        join messages with existing file
   -L NAME, --language NAME   recognise the specified language (JS, EJS)

Error when passing an empty var

In an Express 3, mongoose, passport app i have localizable strings in many config files out of the scope of the request like this ones:

In the route config
https://github.com/omecoatl/express-passport-i18n/blob/master/config/routes.js#L12

In Passport config
https://github.com/omecoatl/express-passport-i18n/blob/master/config/passport.js#L35

In the model validators
https://github.com/omecoatl/express-passport-i18n/blob/master/app/models/user.js#L57

So i think the way to go is localizing the flash message in the controller like this:
https://github.com/omecoatl/express-passport-i18n/blob/master/app/controllers/users.js#L23

(Is there other recommended way to localize this scenario?)

But the initial state of the flash message is empty. This throws an error like this:

Cannot read property ‘length’ of undefined
at Object.gt [as gettext] (/home/workspace/sf2/example/node_modules/i18n-abide/lib/i18n.js:143:70)

Unable to create multiple instances with separate configurations.

With the fxa-content-server, we have two distinct sets of translations, one set is for the main application, the second set is for the TOS/PP agreements. The TOS/PP agreements are translated into a subset of locales supported by the main application. I would like to be able to create two abide instances, one for the main app, one for the TOS/PP agreements. With two instances, I would be able to call abide.bestLanguage and have a language returned that is appropriate for the context.

replace path.exists for Node 0.8

Hello,

I'm using Node 0.8 and i was trying your module. I get an warning and a wrong behaviour at lib/i18n.js:72

There is : 'mo_exists: path.exists()' but path.exists is async so it returns undefined instead of true or false... and it is deprecated on 0.8.

I replaced it with "mo_exists: fs.existsSync(mo_file_path(l))" and it works like a charm ;)

compile-json.sh is lame

Lame because

  • po2json.js isn't actually in node_modules/.bin
  • po2json.js file path is hard coded
  • this script assumes your at the top level of your directory

We should port this from bash to Node.js and resolve file paths to work from anywhere.

Is plural forms translation supported?

I've had a quick look around documentation and code and it seems that plural forms translation isn't supported. Is that so or maybe I just missed it?

It doesn't work

Hello, i have this en_US locale:
http://pastebin.com/ffkxZPfe
And es_PE locale:
http://pastebin.com/eH7xVncN
And when i with my browser to en_US locale it doesn't work! But when i set to it-CH i see all text flipped. Im using express 3 with EJS and this code:

app.use(i18n.abide({
supported_languages: ['en_US', 'es_PE'],
default_lang: 'en_US',
translation_directory: 'i18n'
}))

Recent mozilla/browserid code merge broke json file format

In making i18n-abide compatible with mozilla/browserid, we've broken the format of the .json files.

BrowserID uses

./locale/compile-json.sh locale resources/static/i18n/

which adds ;var json_locale_data = to the beginning of the file to make it valid JavaScript instead of JSON.

Our code now chops the first few characters as well as the last character. It should only do this for browserid...

Add example of client side po, maybe abide it ?

I had to look around quite a bit to find a way to integrate i18n-abide into my project,
and I'm thinking maybe we can automate somehow ?

so, I'm serving precompiled jade templates to my backbone views, the problem is, that I can't find an elegant way to add translation before compiling my jade, or hook into jade so that it does call gettext on the server.

so I resolved to gettext on the client side, for that I'm using Jed, and sending my po data as json via po2json

do you think it might be reasonable to add something like this to the docs ?
https://github.com/inaes-tic/mbc-playout/blob/master/routes/index.js#L18
https://github.com/inaes-tic/mbc-playout/blob/master/public/js/main.js#L66
https://github.com/inaes-tic/mbc-playout/blob/master/views/templates/medialist.jade#L11

cheers,

Support multiple catalogs

BrowserID strings are split between server side (messages.po) and client side (client.po) catalogs.

These then get transformed into messages.json and client.json.

Eventually, i18n-abide should support an arbitrary number of catalogs.

req.gettext() on a post request

I need to response a message to a post method request. I use expressjs.
When I do:
app.get('/url', function(req, res){
console.log(req.gettext("hello world"));
})
the console show me the translated message, but, when I do:
app.post('/url', function(req, res){
console.log(req.gettext("hello world"));
})
the console show me just "hello world" message.

How can I do the same result that in get request?

Thx..

po2json escapes linebreaks

@shane-tomlinson mentioned a bug with po2json on irc:

stomlinson:zcarter: now that you are back, I've been digging into your l10n po2json and found a bug, but I don't know how to fix it!
stomlinson:zcarter: \n gets converted to \\n
stomlinson:zcarter: my initial hack fix was to use sed on the output, which works, but I figured I'd go bug the author instead

Any more info on this @shane-tomlinson?

Error property locals of object ServerResponse is not a function

Hi,

I am using express 4.2 with handlebars as template engine and i18n-abide version 0.0.19. I did compile my po files to the correct json format and placed them in the correct directories.

But now when i make a request to my node application i do receive a stacktrace which tells me that the property "locals" of object "ServerResponse" isn't a function.

After debugging i found that in "i18n-abide/lib/i18n.js" around line 165 a function is assigned to "resp.locals". But in my situation (using handlebars) this function is never assigned. On line 252 it is assumed that resp.locals is a function. When i changed line 252 from
// resp.locals(string, value) doesn't seem to work with EJS
resp.locals(locals);
to
// resp.locals(string, value) doesn't seem to work with EJS
(typeof resp.locals === 'function') ? resp.locals(locals) : resp.locals = locals;

Duplicate of issue #68

eval is evil

Hello,

I updated to beta2 and i noticed that po files are no more supported, only json are... Not a good suprise but anyway...

As I already have a complex buildchain, i don't use your "bin/compilers", I use the last po2json lib to convert my po files to json.
Eval function is evil for many reasons and should not be used in that case because you just want to parse the json to an object and JSON.parse() is here for that.

your block near line 82 would just be :
var json_locale_data = JSON.parse(fs.readFileSync(json_file_path(l)).toString());

Setup Gettext failing

So I am following the steps in the Readme.

$ mkdir -p locale/templates/LC_MESSAGES
and then ./node_modules/.bin/extract-pot --locale locale .

And all i get is this.
Not quite sure what i can do with that.

/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:3859
            throw e;
                  ^
Error: Line 2: Unexpected token :
    at throwError (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:1156:21)
    at throwUnexpected (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:1213:9)
    at consumeSemicolon (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:1295:13)
    at parseStatement (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:2791:9)
    at extra.skipComment (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:3596:38)
    at parseSourceElement (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:3049:20)
    at parseStatementList (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:2041:25)
    at parseBlock (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:2056:17)
    at extra.skipComment (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:3596:38)
    at parseStatement (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:2727:24)
    at extra.skipComment (/Users/kaareal/Code/closeterie/node_modules/i18n-abide/node_modules/jsxgettext/node_modules/esprima/esprima.js:3596:38)

How does parameter rendering works?

I am trying to do this simple thing:

  message = req.gettext("Your verification code is: %(code)", {
    code: code
  });

But the rendered value is Your verification code is: %(code) the code variable in not replaced. What should be the right syntax?

extract bash script is weak sauce

So the extract bash script was okay in browserid, but is totally weak sauce for a re-usable library. Make this work via configuration or a proper Node CLI script that you configure with include and exclude patterns.

format conflicts with express-resource module

express-resource is a very popular node.js module. However i18n-abide's format function conflicts with express-resource.

For example, when we add resource 'items' and visit http://localhost:3000/items,

    app.resource('items', require('./routes/item'));

we will get an exception:

TypeError: Object function (fmt, obj, named) {
  if (!fmt) return "";
  if (Array.isArray(obj) || named === false) {
    return fmt.replace(/%s/g, function(){return String(obj.shift());});
  } else if (typeof obj === 'object' || named === true) {
    return fmt.replace(/%\(\s*([^)]+)\s*\)s/g, function(m, v){
      return String(obj[v.trim()]);
    });
  } else {
    return fmt;
  }
} has no method 'indexOf'
    at ServerResponse.res.contentType.res.type (/Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/express/lib/response.js:390:41)
    at /Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/express-resource/index.js:155:25
    at callbacks (/Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/express/lib/router/index.js:161:37)
    at param (/Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/express/lib/router/index.js:135:11)
    at param (/Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/express/lib/router/index.js:132:11)
    at pass (/Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/express/lib/router/index.js:142:5)
    at Router._dispatch (/Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/express/lib/router/index.js:170:5)
    at Object.router (/Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/express/lib/router/index.js:33:10)
    at next (/Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/express/node_modules/connect/lib/proto.js:190:15)
    at Object.handle (/Users/vince/GitRoot/PracticeProjects/Express/i18nabidetest/node_modules/i18n-abide/lib/i18n.js:244:5)

I believe it is because express-resource uses req.format for content-negotiation (json, xml). See https://github.com/visionmedia/express-resource . The solution is renaming 'format' of i18n-abide to i18nformat (express-resource is very popular. I don't think we should rename 'format' of express-resource). After renaming, i18n-abide works well with express-resource.

Because github does not allow a zip attachment, I have to put code here.

Source code of app.js


/**
 * Module dependencies.
 */

var express = require('express')
  , routes = require('./routes')
  , user = require('./routes/user')
  , http = require('http')
  , Resource = require('express-resource')
  , i18n = require('i18n-abide')
  , path = require('path');

var app = express();

// all environments
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.set('view engine', 'jade');
app.use(express.favicon());
app.use(express.logger('dev'));
app.use(express.bodyParser());
app.use(express.methodOverride());
app.use(i18n.abide({
    supported_languages: ['en', 'zh-CN'],
    default_lang: 'en',
    translation_type: "plist",
    translation_directory: "locales",
    locale_on_url: true
  }));
app.use(app.router);
app.use(express.static(path.join(__dirname, 'public')));

// development only
if ('development' == app.get('env')) {
  app.use(express.errorHandler());
}

app.get('/', routes.index);
app.get('/users', user.list);

// Exception in http://localhost:3000/items
app.resource('items', require('./routes/item'));


http.createServer(app).listen(app.get('port'), function(){
  console.log('Express server listening on port ' + app.get('port'));
});

Source code of routes/item.js

exports.index = function(req, res) {
  res.send(req.gettext("Item"));
};

Installation broken by git:// URL of gobbledygook

The entry

    "gobbledygook": "git://github.com/lloyd/gobbledygook.git#3540426",

in packages.json breaks installation here. git cloning the git:// URL fails with a timeout after some minutes (also without the #3540426).

$ npm install --save i18n-abide
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/i18n-abide
npm http 304 https://registry.npmjs.org/i18n-abide
npm http GET https://registry.npmjs.org/jsxgettext/0.3.9
npm http GET https://registry.npmjs.org/async/0.1.22
npm http GET https://registry.npmjs.org/optimist/0.3.4
npm http GET https://registry.npmjs.org/plist/0.4.3
npm http 304 https://registry.npmjs.org/optimist/0.3.4
npm http 304 https://registry.npmjs.org/jsxgettext/0.3.9
npm http 304 https://registry.npmjs.org/async/0.1.22
npm http 304 https://registry.npmjs.org/plist/0.4.3
npm ERR! git clone git://github.com/lloyd/gobbledygook.git Klone in Bare-Repository '/home/sie/.npm/_git-remotes/git-github-com-lloyd-gobbledygook-git-51b035ae'...
npm ERR! git clone git://github.com/lloyd/gobbledygook.git fatal: unable to connect to github.com:
npm ERR! git clone git://github.com/lloyd/gobbledygook.git github.com[0: 192.30.252.131]: errno=Die Wartezeit f?r die Verbindung ist abgelaufen
npm ERR! Error: Command failed: Klone in Bare-Repository '/home/sie/.npm/_git-remotes/git-github-com-lloyd-gobbledygook-git-51b035ae'...
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 192.30.252.131]: errno=Die Wartezeit f?r die Verbindung ist abgelaufen
npm ERR! 
npm ERR! 
npm ERR!     at ChildProcess.exithandler (child_process.js:637:15)
npm ERR!     at ChildProcess.EventEmitter.emit (events.js:98:17)
npm ERR!     at maybeClose (child_process.js:743:16)
npm ERR!     at Process.ChildProcess._handle.onexit (child_process.js:810:5)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 3.11-2-amd64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "i18n-abide"
npm ERR! cwd /Projects/LEP_PCAP-Webapp/Develop/Webapp/Area51/nodeTests
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code 128
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Projects/LEP_PCAP-Webapp/Develop/Webapp/Area51/nodeTests/npm-debug.log
npm ERR! not ok code 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.