comparison xml/en/docs/njs/cli.xml @ 2246:32ba43abf9cd

Renamed njs API, njs Changes.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 24 Sep 2018 19:24:04 +0300
parents 87a0e2c73a25
children b9144a131eff
comparison
equal deleted inserted replaced
2245:87a0e2c73a25 2246:32ba43abf9cd
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd">
8 8
9 <article name="Command-line interface" 9 <article name="Command-line interface"
10 link="/en/docs/njs/cli.html" 10 link="/en/docs/njs/cli.html"
11 lang="en" 11 lang="en"
12 rev="1"> 12 rev="2">
13 13
14 <section> 14 <section>
15 <para> 15 <para>
16 njs scripts development and debugging can be performed 16 njs scripts development and debugging can be performed
17 from the command-line. 17 from the command-line.
19 the Linux <link doc="install.xml" id="install_package">package</link> 19 the Linux <link doc="install.xml" id="install_package">package</link>
20 or after building from the 20 or after building from the
21 <link doc="install.xml" id="install_sources">sources</link>. 21 <link doc="install.xml" id="install_sources">sources</link>.
22 Compared to njs running inside nginx, 22 Compared to njs running inside nginx,
23 nginx objects 23 nginx objects
24 (<link doc="njs_api.xml" id="http">HTTP</link> and 24 (<link doc="reference.xml" id="http">HTTP</link> and
25 <link doc="njs_api.xml" id="stream">Stream</link>) 25 <link doc="reference.xml" id="stream">Stream</link>)
26 are not available in the utility. 26 are not available in the utility.
27 <example> 27 <example>
28 $ echo "2**3" | njs - 28 $ echo "2**3" | njs -
29 8 29 8
30 30