You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
The JavaScript playground for your desktopA scratchpad where code runs as you type. Node.js, browser and npm — all in one place.
Introduction Hi guys! I am currently working on the server-side TypeScript framework. My team already widely use this framework in various e-commerce and ERP projects. Structure and semantic were inspired by other popular frameworks like Spring and ASP.NET. List of main goals: Testable, supportable, scalable Minimalistic, idiomatic, clear Intuitive, readable, understandable Powerful Currently, t
This is a guest post b__y Hank Jacobs, who is the _Lead Software Engineer for Platform Services & Tools at Dollar Shave Club. This post originally appeared on the DSC Engineering blog.___ At Dollar Shave Club, we continuously look for ways to improve how we build and ship code. Improving the time it takes for engineers to ship code is key. Providing engineers with a development environment that cl
arg() takes either 1 or 2 arguments: Command line specification object (see below) Parse options (Optional, defaults to {permissive: false, argv: process.argv.slice(2), stopAtPositional: false}) It returns an object with any values present on the command-line (missing options are thus missing from the resulting object). Arg performs no validation/requirement checking - we leave that up to the appl
A safe and modern home for the webOpenJS promotes the widespread adoption and continued development of key JavaScript technologies worldwide.
Following up on my last article, I want to talk about Errors. Errors are good — I’m sure you’ve heard that before. At first sight we fear Errors, because they often include being hurt or feeling humiliated in public. By doing Errors, we actually learn how not to do something and how to do it better next time. This obviously is about learning from Errors (mistakes) in real life. Errors in programmi
Stylish CLI prompts that are user-friendly, intuitive and easy to create. >_ Prompts should be more like conversations than inquisitions▌ (Example shows Enquirer's Survey Prompt) The terminal in all examples is Hyper, theme is hyper-monokai-extended. See more prompt examples Created by jonschlinkert and doowb, Enquirer is fast, easy to use, and lightweight enough for small projects, while also bei
1. はじめに 最近わけあってNodeのセキュリティ調査をしているのですが、今年の5月に開催された North Sec 2018 でセキュリティ研究者の Olivier Arteau 氏による 「Prototype pollution attacks in NodeJS applications」という面白い発表を見つけました。 この発表の論文や発表資料、デモ動画などもgithubで公開されていますし、ちょうどタイミングよくセッション動画も最近公開されました。 github.com Olivier Arteau -- Prototype pollution attacks in NodeJS applications この発表で解説されているのは、悪意のある攻撃者が、JavaScript言語固有のプロトタイプチェーンの挙動を利用して、Webサーバを攻撃する方法です。 発表者は、npmからダ
var compose = require('request-compose') var Request = compose.Request var Response = compose.Response ;(async () => { try { var {res, body} = await compose( Request.defaults({headers: {'user-agent': 'request-compose'}}), Request.url('https://api.github.com/users/simov'), Request.send(), Response.buffer(), Response.string(), Response.parse(), )() console.log(res.statusCode, res.statusMessage) cons
エンジニアのgamiです。趣味はポッドキャスト配信です。 今回は、「Node.js」に焦点を当てた記事です。 PLAIDでは、約5年前から「KARTE」というサービスを開発しています。そのサーバーサイドの実装は、ほとんどがNode.jsで記述されています。 一方、国内企業の中で、サーバーサイド実装にNode.jsを採用している企業は少ない印象があります。 そこで、以下についてご紹介します。 PLAIDがNode.jsで実現しているプロダクト Node.jsを5年間使ってわかった強みと弱点 Node.jsを使いこなすための工夫 1. PLAIDがNode.jsで実現しているプロダクト 実際にPLAIDがどのようにNode.jsを使っているかを紹介します。PLAIDでは、「リアルタイムユーザー解析サービス」であるKARTEを主に開発しているので、KARTEの開発について説明します。 プロダクト
JXA(JavaScript for Automation)を書いて実行するためにいろいろなパッケージを作りました。 この記事で紹介する内容は次のスライドで発表したものと大体同じです。 スライド: JXA for TypeScript/Node.js リポジトリ: JXA-userland/JXA: JavaScript for Automation(JXA) packages for TypeScript/Node.js. JXAはAppleScriptのJavaScript版(WebKit)のようなもので、macOSにはビルトインされています。 osascript -l javascrript file.jsでJXAを実行できます。 詳しくは次のページで解説されています。 Home · JXA-Cookbook/JXA-Cookbook Wiki [email protected] |
Isomorphic ES Modules Earlier I demonstrated how to build a Single Page App which shares templates with the Server Side Code. (See the video below.) We share the web app’s templates to enable the first page load to be pre-rendered on the server. This practice lets Web Apps start faster and be more resilient to network failure. In the live coding session we use the new EcmaScript (ES) Modules becau
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く