{"_id":"@sassoftware/create-react-restaf-viya-app","_rev":"39-72a4581a4d5a0db01f937c2d506bbd94","name":"@sassoftware/create-react-restaf-viya-app","dist-tags":{"latest":"2.3.4","test":"2.3.6"},"versions":{"0.3.0":{"name":"@sassoftware/create-react-restaf-viya-app","version":"0.3.0","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@0.3.0","maintainers":[{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"}],"homepage":"https://github.com/sassoftware/restaf/packages/createApp#readme","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"91fab7c53bd0e3d0d47a9db6ebedef9ef0823d3c","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-0.3.0.tgz","fileCount":27,"integrity":"sha512-12DTqg5nmvXu79pyGHVUh/qdqHzxORM45Ta2SvgRtgOvNe2RR5pIFLKoENdBVQmrTBfAFTh9TRGddK6wctKekw==","signatures":[{"sig":"MEYCIQDfgtCvph7p3wC0nMysFHOO9Wf15LkJhx55dmrW/M+fFAIhALBkteEjbRq8mSvnhRwSnsTbv4CMwcCBSDPMkDADdzsU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":149689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGb53CRA9TVsSAnZWagAADnYP/jub1UBGNHzjrO6Kbv5Y\nA8gowfA2UAoDetuStnX1ftmKfgnCiNF8opvK+oNPc2c3eTS7Ydh9zqhO3cwy\nM9lhacIYcFRnRiXRMwZxg+VwTESniIOM4CbrllY+defqAyZtBA5p43vFIe3i\njc3S7UuwNsxVRO1fM6lnAeJNX6Ey6KLAwacvNux0PFFN14Dl2hJ/0ukI3Fle\nxswtpRcQ803Vt3kkS4vBBFFDwojjShT+3IjvfuZqRqjCgYUgxjy1p7eclz7s\n5qVhGlTMiUN02vHN42vYC0UOk7rT5BiQ+lJCQbTgUHZCG19kZzW7kkiVIyjz\nizRpX5JZksYLNoL6aZmjfBF8zWTEYGvswX1/HfPhSmbRZwbj0PnrQjLpM3cg\nSSdDQLJV+MtaJAI6CLolOvn0ToYHIgoxjO0qNlibsGB2f529oXQPm40E/nPz\nn80Go+WY0NuoTqW81aSI14u0ltX9vbgIDiecXjf4kCBEpHARrjoRhoHbTRhp\nXRkWEjHnkvCIAcKJzOJbwk0/E7cFzD3lU4neWtT0h8N/H4T0VJze9pJvdFNh\nViWZ16SXb6RR1bSNgLFLv90tw/zDhjZAQgU4jImGKlez/GwnYXu3VuoLZXgg\nP5xNQfGixUF8HyIBhJwtdEVTMv2TmKx7FpAio05wblS8sHkftLykeRhJw4gE\nwL5D\r\n=4J5z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_0.3.0_1595522678490_0.13075532061426687","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@sassoftware/create-react-restaf-viya-app","version":"0.3.1","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@0.3.1","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"46502aafbf17237eb11d010bf0cb23291838e890","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-0.3.1.tgz","fileCount":27,"integrity":"sha512-GCs3dW50ocRcXO6hN3oi9WLc9OPgt4LbGcgaoGIYjUc93kyoAqKagEWeTONpY7jvVBu8QBdsOlfAtEPtDkPzwg==","signatures":[{"sig":"MEUCIG7y+JnWwaT8ZM+z+JV68/ErTjKz92WkaRE7NBqFibY+AiEAv04BunDOBO1aBa2MUQIX/kAKgub0p/e/4nSZbog/wxA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":149809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGc7zCRA9TVsSAnZWagAABdQQAJLZg6MHQQWqjywGr5J3\nvIyFbBIJMBkM+gOteszJoysnlpj5B3qWjF8FuelKEMT6bxLyE9vwvLy6a5BS\nEftF0Z6fWNZIPNifFLX565dpnk8dTAHi9mYwjcGOoU1MDWly6mXjtC2xvtd1\niRiHHqMpjBSIgOt13JrNAbhDkGWihNG6ZnoPf1zgA0zvpjlxgVFiwh0JPAu6\nh8bZZXKUwtv9mzZqHVe/l261BNUFvsNP/SIEUbxidLWWRI2QG+CxQG/psUdW\nBLcZwYsW7x7OsdCJMZmiwFyxFu6WtOz4m3nbE4FbNFNQIYbCONamFk9VVQtM\nw4jG8sJc/Sb+BBuYI7LTJoZ4h1Z93kSEN5FCDyKjjQL9DSNnkCTOFjtIZl51\nrUcsEAjh7WokmpQrl+4VNkD6ylEHYi/20FxbOTJSP+mPMBpTsOtpfQYGfFQW\nJdtyoy4Pk7bwXquDTIjZt6Vj0995M1d4fwiAYCEBnOOg7JWD1QMdjxrQGKU1\nNkgA1zsCIaDh1TmjeXya4Apulc4BUBS1XkQnGDz0pIKDYxtfcOk4foqBtR5W\nJArRlKJY7oh7hBOJj6qAELRGCx02iGk7Fab2k5Z9coEMupXp+ThfkkDz+/SY\nqpSoBAnXb6n7D3YX2lGUOkdk0BUz7sgwcI0sz6wGSmS64wDxAD8C1iQKeXbw\nxvzE\r\n=MnNt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_0.3.1_1595526898897_0.371457575668529","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@sassoftware/create-react-restaf-viya-app","version":"0.4.0","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@0.4.0","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"6367a516c35e57c443a99f98903964f1fd272f3b","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-0.4.0.tgz","fileCount":26,"integrity":"sha512-az6oppxilZht88Y9CC3IlUBx4BznW+Ibz32ay7KP0gdM4Yljf+oY18nn4t9L50nIEFAok0wMuUERqzaLXg0PvQ==","signatures":[{"sig":"MEQCIGNUZkOIgTTrJTzen0dMLkpTZ0Pq4i/R3u23gqyJ8cAvAiBWZgYCYMlmmOFfOLrtR0FStIvER1P/7N1PYrFbn3hClg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":155218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHYA3CRA9TVsSAnZWagAAP84P/39Pm1DoVau8t8vLT3D+\nF4CKsHs7fDnXnyXu4AJIAUrVsHFYDUSEOSO8XidNyBzVZcBZX0/xLgv9cO3w\nXCee6GvidnclQBQYCZJlPlQ1Lw53Iwl277Mr9roVqX4gH7F7Ddt6321olyfj\nOWMYZ6Kv4iMofTd/8py/Vu12clbdVpKdbEc1+dAC1AMAmeUQzlFuCHH/PjcA\n9y0MuLHMk08RLGQp4XkWjupLZe8/aF7+2osn2eYOELMjUkOlLwxtnjj5dIg8\noHjp3xODmZu4eFKnEPLwy3WI/ln+FkVGBumQL3Uxvf1R1JrC6y3giTwhuVj0\nSBB311J6cA6vlPDI/OjQMjCD5VXfWjS8ABTtEfga08xQgzUP0qthHwxEP+GO\n66iT6bbB7FM2smq99i0JHYifiixJ8AKHLslikI0uIhgC80uK9UGPv0Z4FUCL\nSOEEMZxJ4FcS3bcdMbG1KC/T6cJFU9/k13S7Jqo8bGyNn2WLGNPeWtT8L3xB\nAXHh12B18+aShp/CherAGMJ0CrGvaEwnEH8JZI8lYuzcii6BrAkWLmz/kMy8\nkXUHBC9Azs+RDdR5bcCL+9CT7mjz1QQtMOdHQHBNQzU2qOhUTVjWSPBKT+g4\n6B8LPhXupXU8Lj4DtPs53CYtboDENkSGiQncaeLmBEPkpWJ6tLpFrASurOFN\nCkdn\r\n=O2IZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"# create-react-restaf-viya-app\n\n[create-react-app](https://create-react-app.dev/) is a very popular cli to jump start the development of react-based applications.\n\ncreate-react-restaf-viya-app is an extension of create-react-app. The target audience is react developers building SAS Viya Apps.\n\n1. [restaf](https://github.com/sassoftware/restaf/wiki)\n\n2. [restaflib](https://github.com/sassoftware/restaf/wiki)\n\n3. [restaf-server](https://github.com/sassoftware/restaf-server/wiki)\n\n## Benefits\n\nSome of the benefits of using this cli to jump start your SAS Viya Applications\n\n1. You retain all the benefits of using create-react-app which are well documented\n\n2. You are automatically authenticated to the Viya Server.\n\n3. You can start making API calls right away during development just as you would in production.\n\n## A note on making API calls\n\nThe recommended way is to use restaf and restaflib to make the REST API calls. See the sample application created on your first creation of the application.\n\nIf for some reason[*the author can think of none*] you would prefer to hand-code the calls you can do that too. Remember that the session is authenticated using authorization_code flow and code appropriately.\n\n---\n\n## Creating your react application\n\n---\n\nIssue the command below to create the default application.\n\n```sh\nnpx create-react-restaf-viya-app react-appname --webapp webapp-name  --title webapp-title --script scriptTags-file\n\n```\n\n```sh\nExample:\nnpx create-react-restaf-viya-app mycoolapp\n```\n\nOnly the react-appname is required. The optional parameters are:\n\n- webapp  -- this is the user-friendly application name. Defaults to **viyademo**\n\n- title   -- The text for the title tag in index.html. Defaults to **SAS/Viya Application**\n\n- script  -- a file which has some HTML script tags to be inserted into index.html - defaults is a comment line\n\n---\n\n## Using the Generated Application\n\n---\n\nOnce the app has been created you can start your development.\n\n## Key Assumption\n\nThe application is authenticated using authorization_code flow.\n\n## Configuration\n\nSet the following in the .env file:\n\n- CLIENTID  -- the default value is viyademo\n- CLIENTSECRET -- the default value is secret\n- VIYA_SERVER  -- no defaults.You must specify this(ex: <http://myviya.com>)\n\n### Some defaults\n\n1. The app server runs on localhost:5000/viyademo\n2. The clientid redirect is <http://localhost:5000/viyademo>\n3. The create-react-app server runs on its standard port(3000)\n\nFor more detailed configuration options see\nSee <https://github.com/sassoftware/restaf-server/wiki>\n\n## App Development\n\n1. Modify App.js to suit your needs\n2. Install any additional packages your app might need.\n\n## Running in Development Mode\n\nRun this command to have HMR enabled\n\n```sh\ncd to-the-app-directory\nyarn dev\n```\n\nThe flow of the application on the yarn dev command is show below.\n\n- Step 1   :  User invokes the application at <http://localhost:5000/viyademo>\n\n- Step 2: restaf-server authenticates with the Viya Server. The user is prompted for credentials\n\n- Step 3a: Status of the initialization is displayed in the browser.\n\n- Step 3b: restaf-server runs the create-react-app's **npm start** script which launches your react application in a second tab of your browser.\n\nAt this point you can view your application, edit your code and see the updated application. The session is authenticated -so you can make REST API calls to SAS Viya using restaf or any other library.\n\n![create-react-restaf-viya](create-react-restaf-viya-app.png)\n\n## Running in Application mode\n\nRun this command. Note that the create-react-app dev server will not started.\n\n```sh\ncd to-the-app-directory\nyarn build\nyarn app\n```\n\n## React Context - AppContext\n\nBy default a react context named AppContext is created.\n\nTo access the data code something like this:\n\n```js\n\nimport React,{useContext} from 'react';\nimport {AppContext} from '../providers';\n\nlet appContext = useContext(AppContext);\n\nlet {store, appOptions} = appContext;\n\nlet {appenv, logonPayload} = appOptions;\n\n```\n\nThe store is the restaf store object that you will use to make the API calls.\n\nThe logonPayload will have the following form:\n\n```js\n{\n    authType: 'server'\n    host    : \"your Viya hostname\"\n}\n```\n\nThe host value is useful if you are making use of VA_SDK and/or if you are coding the REST API calls without restaf.\n\n## Requiring restaf and restaflib in your application\n\nThese two libraries are part of the installed dependencies. To access them in your react components do these as follows:\n\n```js\nlet restaf = require('@sassoftware/restaf/dist/restaf.js');\nlet restaflib = require('@sassoftware/restaflib/dist/restaflib.js');\n\nor\n\nimport * as restaf from '@sassoftware/restaf/dist/restaf.js';\nimport * as restaflib from '@sassoftware/restaf/dist/restaflib.js';\n\n```\n\nIn all probablity you will not refer directly to restaf in your code. You will use the store object in the AppContext(see above). This value is set as part of the application startup.\n","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_0.4.0_1595768887153_0.47964452339395325","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"@sassoftware/create-react-restaf-viya-app","version":"0.4.1","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@0.4.1","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"d5bfecf24d1a19907ddec08e2b82693bbeed4e71","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-0.4.1.tgz","fileCount":26,"integrity":"sha512-SIzRfJ5i4PUjoPiQkdQdJqhl9onMm04gcPeXEH0799rLl0GQvc+q7EwGX/j4kxDEeUmC/BxNkEXLRxXUoBe7qA==","signatures":[{"sig":"MEYCIQD5MEvhCXy6NRv2qqW5hx4OSNJZ54dzb1J7aHtLESq9QQIhANLJOE9h/Ab1wtR62z+6GKXZNtD8yoXmsUvO0+f4rfYb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":155214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHYE3CRA9TVsSAnZWagAAJSoQAJNpr6gMZlesZ1XVk4Sm\nJdvGLaHSdefG940FNThh0NINQB8IkzqWnIaPQnVn1TggLIQ+X1aCzgFv93qc\nM7NCugyT2qgUMiY6annY5J1XU4OM0AMYR3EBiGhhLlg4NM4+sLuuL/WFYD1M\nuEpQGR3nL89rR8HRZ1jgzbNuJmt46xep24fGAw3pfsoZX4LVc6r/aiiEK++a\nTI288EkIdpity5ha1OsqM6XfJ7Near+PpOwFbyzLa+zRkPb+dS2JHDQhyPek\nhn+cTxxpsSKaLVTFyiAwYLL0EnxybL2kj/THvskE6DXTsoU1WmVFaam1uqZA\ntFbaLaQKONhDPbWCZUcaLRqJznMNBIzRbSOjT8OnSunFVe+42eymalHRf7XZ\nnoQAg358dQFa3AHx6tGo/3y/35yZqSY6b0pUBtirzs39mcEkNiSwPvYQKcX3\njy2rOoVsyK0mYq1aJrFgY4uJWNBOc3jAgzDRZk7UphlSqBfr4xOLjl39mhOl\nfudcLgbl5UlKsIPooJk241x6FTxx0hinKFap9C61e2vtg871OArn+Zmt2/ae\nLVf9ir1cVs9lpM5fBQzh+ulSgEaB9KUo/KsXuVHMwUTq8Fgr00guGKqO54Li\nqfU2a0VQqHC4O33KsPLLjiK7HlR5wumkTA2GlvwEOMQO1z6KZ9CHySskShMr\nPTdR\r\n=IT0X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"# create-react-restaf-viya-app\n\n[create-react-app](https://create-react-app.dev/) is a very popular cli to jump start the development of react-based applications.\n\ncreate-react-restaf-viya-app is an extension of create-react-app. The target audience is react developers building SAS Viya Apps.\n\n1. [restaf](https://github.com/sassoftware/restaf/wiki)\n\n2. [restaflib](https://github.com/sassoftware/restaf/wiki)\n\n3. [restaf-server](https://github.com/sassoftware/restaf-server/wiki)\n\n## Benefits\n\nSome of the benefits of using this cli to jump start your SAS Viya Applications\n\n1. You retain all the benefits of using create-react-app which are well documented\n\n2. You are automatically authenticated to the Viya Server.\n\n3. You can start making API calls right away during development just as you would in production.\n\n## A note on making API calls\n\nThe recommended way is to use restaf and restaflib to make the REST API calls. See the sample application created on your first creation of the application.\n\nIf for some reason[*the author can think of none*] you would prefer to hand-code the calls you can do that too. Remember that the session is authenticated using authorization_code flow and code appropriately.\n\n---\n\n## Creating your react application\n\n---\n\nIssue the command below to create the default application.\n\n```sh\nnpx create-react-restaf-viya-app react-appname --webapp webapp-name  --title webapp-title --script scriptTags-file\n\n```\n\n```sh\nExample:\nnpx create-react-restaf-viya-app mycoolapp\n```\n\nOnly the react-appname is required. The optional parameters are:\n\n- webapp  -- this is the user-friendly application name. Defaults to **viyademo**\n\n- title   -- The text for the title tag in index.html. Defaults to **SAS/Viya Application**\n\n- script  -- a file which has some HTML script tags to be inserted into index.html - defaults is a comment line\n\n---\n\n## Using the Generated Application\n\n---\n\nOnce the app has been created you can start your development.\n\n## Key Assumption\n\nThe application is authenticated using authorization_code flow.\n\n## Configuration\n\nSet the following in the .env file:\n\n- CLIENTID  -- the default value is viyademo\n- CLIENTSECRET -- the default value is secret\n- VIYA_SERVER  -- no defaults.You must specify this(ex: <http://myviya.com>)\n\n### Some defaults\n\n1. The app server runs on localhost:5000/viyademo\n2. The clientid redirect is <http://localhost:5000/viyademo>\n3. The create-react-app server runs on its standard port(3000)\n\nFor more detailed configuration options see\nSee <https://github.com/sassoftware/restaf-server/wiki>\n\n## App Development\n\n1. Modify App.js to suit your needs\n2. Install any additional packages your app might need.\n\n## Running in Development Mode\n\nRun this command to have HMR enabled\n\n```sh\ncd to-the-app-directory\nyarn dev\n```\n\nThe flow of the application on the yarn dev command is show below.\n\n- Step 1   :  User invokes the application at <http://localhost:5000/viyademo>\n\n- Step 2: restaf-server authenticates with the Viya Server. The user is prompted for credentials\n\n- Step 3a: Status of the initialization is displayed in the browser.\n\n- Step 3b: restaf-server runs the create-react-app's **npm start** script which launches your react application in a second tab of your browser.\n\nAt this point you can view your application, edit your code and see the updated application. The session is authenticated -so you can make REST API calls to SAS Viya using restaf or any other library.\n\n![create-react-restaf-viya](create-react-restaf-viya-app.png)\n\n## Running in Application mode\n\nRun this command. Note that the create-react-app dev server will not started.\n\n```sh\ncd to-the-app-directory\nyarn build\nyarn app\n```\n\n## React Context - AppContext\n\nBy default a react context named AppContext is created.\n\nTo access the data code something like this:\n\n```js\n\nimport React,{useContext} from 'react';\nimport {AppContext} from '../providers';\n\nlet appContext = useContext(AppContext);\n\nlet {store, appOptions} = appContext;\n\nlet {appenv, logonPayload} = appOptions;\n\n```\n\nThe store is the restaf store object that you will use to make the API calls.\n\nThe logonPayload will have the following form:\n\n```js\n{\n    authType: 'server'\n    host    : \"your Viya hostname\"\n}\n```\n\nThe host value is useful if you are making use of VA_SDK and/or if you are coding the REST API calls without restaf.\n\n## Requiring restaf and restaflib in your application\n\nThese two libraries are part of the installed dependencies. To access them in your react components do these as follows:\n\n```js\nlet restaf = require('@sassoftware/restaf/dist/restaf.js');\nlet restaflib = require('@sassoftware/restaflib/dist/restaflib.js');\n\nor\n\nimport * as restaf from '@sassoftware/restaf/dist/restaf.js';\nimport * as restaflib from '@sassoftware/restaf/dist/restaflib.js';\n\n```\n\nIn all probablity you will not refer directly to restaf in your code. You will use the store object in the AppContext(see above). This value is set as part of the application startup.\n","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_0.4.1_1595769142929_0.35347111096909845","host":"s3://npm-registry-packages"}},"0.4.2":{"name":"@sassoftware/create-react-restaf-viya-app","version":"0.4.2","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@0.4.2","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"e96b5e1d59bd5dc0fa1803571666c8a8921667bc","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-0.4.2.tgz","fileCount":26,"integrity":"sha512-HUDpRnhc3WLz0tiDT3HWqQM+kWnIoZ0KykO0Z4yOiSZiRPgX6ckG9fiYZ0Z3pCfNhi4+DMl1jHKpiPW1GCU71w==","signatures":[{"sig":"MEQCIDK90Hepp5JpsgR7a8dkuX4ftrsFUnAndgZZS1/mTdOKAiAX+6mpLK6fcEl6FHXj/97WHkwwtl47aG29827YWn+X2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":155213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHYyRCRA9TVsSAnZWagAApTsP/2CbNjEG3WZ8mfeTRMa3\n98fvpzlcgpbwPgv8GCbqnUVg7zT/3LfCH0WrvMSY4kMiQsZ6uCzpkDoUWUmc\nYCotDJLSwcEiNbBAXk65sShY4Jht2NUT1KrlbUSdbneGE1DHhRRgx+9ZWuGW\nNnNammbTbwoGF8OvxorWdk5sBLzf54FBEP+KTxfeFUaR3AkAangYOvNnEJtX\nzxFJEN1xxcWsaMzUtYk7vPDUDIBYrkHN+ectkjXIbaneSIOAP7GJl4sXAVam\nARcpbbUnZYY6eE9faEwcXUrpHLkB0+n03HxG3G2NeYbiHgntaK9q+CBFmzH1\nNcHOWfZK/EVLbV0efAqxYdXSFj0JtIgbEFyiPbYGSS6YWDgda25uaY1FEYO8\nx9Mwp64Ud73e6Gopv1VqjCOZv8Ne9ERqX7QhvZU8x3jUNx5Nb1GFjjDwz8Ik\nyKdjWU/8Hb4qTcx6ibVmndMs5OHYjoBBJsR3VOPm9dhEuFP02zh2TYkkbjgy\nOi2lKUU0BC292yREdLsNcXTUNePKkeF0lWSwccKuWvX9gRw63yUI2qh+fiMo\nLacfAmA3MbP9beqdWpmqboBbjjSDcRUlIxIcA+ikF68i7iczmWmCmdh/hqNK\n/hVEUZyjHlrdxSZRqALJ4YWEqj0wE2BX/m8baWCjrbKgnNMaFlR7hLM59LjP\n4noh\r\n=lpQs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"# create-react-restaf-viya-app\n\n[create-react-app](https://create-react-app.dev/) is a very popular cli to jump start the development of react-based applications.\n\ncreate-react-restaf-viya-app is an extension of create-react-app. The target audience is react developers building SAS Viya Apps.\n\n1. [restaf](https://github.com/sassoftware/restaf/wiki)\n\n2. [restaflib](https://github.com/sassoftware/restaf/wiki)\n\n3. [restaf-server](https://github.com/sassoftware/restaf-server/wiki)\n\n## Benefits\n\nSome of the benefits of using this cli to jump start your SAS Viya Applications\n\n1. You retain all the benefits of using create-react-app which are well documented\n\n2. You are automatically authenticated to the Viya Server.\n\n3. You can start making API calls right away during development just as you would in production.\n\n## A note on making API calls\n\nThe recommended way is to use restaf and restaflib to make the REST API calls. See the sample application created on your first creation of the application.\n\nIf for some reason[*the author can think of none*] you would prefer to hand-code the calls you can do that too. Remember that the session is authenticated using authorization_code flow and code appropriately.\n\n---\n\n## Creating your react application\n\n---\n\nIssue the command below to create the default application.\n\n```sh\nnpx create-react-restaf-viya-app react-appname --webapp webapp-name  --title webapp-title --script scriptTags-file\n\n```\n\n```sh\nExample:\nnpx create-react-restaf-viya-app mycoolapp\n```\n\nOnly the react-appname is required. The optional parameters are:\n\n- webapp  -- this is the user-friendly application name. Defaults to **viyademo**\n\n- title   -- The text for the title tag in index.html. Defaults to **SAS/Viya Application**\n\n- script  -- a file which has some HTML script tags to be inserted into index.html - defaults is a comment line\n\n---\n\n## Using the Generated Application\n\n---\n\nOnce the app has been created you can start your development.\n\n## Key Assumption\n\nThe application is authenticated using authorization_code flow.\n\n## Configuration\n\nSet the following in the .env file:\n\n- CLIENTID  -- the default value is viyademo\n- CLIENTSECRET -- the default value is secret\n- VIYA_SERVER  -- no defaults.You must specify this(ex: <http://myviya.com>)\n\n### Some defaults\n\n1. The app server runs on localhost:5000/viyademo\n2. The clientid redirect is <http://localhost:5000/viyademo>\n3. The create-react-app server runs on its standard port(3000)\n\nFor more detailed configuration options see\nSee <https://github.com/sassoftware/restaf-server/wiki>\n\n## App Development\n\n1. Modify App.js to suit your needs\n2. Install any additional packages your app might need.\n\n## Running in Development Mode\n\nRun this command to have HMR enabled\n\n```sh\ncd to-the-app-directory\nyarn dev\n```\n\nThe flow of the application on the yarn dev command is show below.\n\n- Step 1   :  User invokes the application at <http://localhost:5000/viyademo>\n\n- Step 2: restaf-server authenticates with the Viya Server. The user is prompted for credentials\n\n- Step 3a: Status of the initialization is displayed in the browser.\n\n- Step 3b: restaf-server runs the create-react-app's **npm start** script which launches your react application in a second tab of your browser.\n\nAt this point you can view your application, edit your code and see the updated application. The session is authenticated -so you can make REST API calls to SAS Viya using restaf or any other library.\n\n![create-react-restaf-viya](create-react-restaf-viya-app.png)\n\n## Running in Application mode\n\nRun this command. Note that the create-react-app dev server will not started.\n\n```sh\ncd to-the-app-directory\nyarn build\nyarn app\n```\n\n## React Context - AppContext\n\nBy default a react context named AppContext is created.\n\nTo access the data code something like this:\n\n```js\n\nimport React,{useContext} from 'react';\nimport {AppContext} from '../providers';\n\nlet appContext = useContext(AppContext);\n\nlet {store, appOptions} = appContext;\n\nlet {appenv, logonPayload} = appOptions;\n\n```\n\nThe store is the restaf store object that you will use to make the API calls.\n\nThe logonPayload will have the following form:\n\n```js\n{\n    authType: 'server'\n    host    : \"your Viya hostname\"\n}\n```\n\nThe host value is useful if you are making use of VA_SDK and/or if you are coding the REST API calls without restaf.\n\n## Requiring restaf and restaflib in your application\n\nThese two libraries are part of the installed dependencies. To access them in your react components do these as follows:\n\n```js\nlet restaf = require('@sassoftware/restaf/dist/restaf.js');\nlet restaflib = require('@sassoftware/restaflib/dist/restaflib.js');\n\nor\n\nimport * as restaf from '@sassoftware/restaf/dist/restaf.js';\nimport * as restaflib from '@sassoftware/restaf/dist/restaflib.js';\n\n```\n\nIn all probablity you will not refer directly to restaf in your code. You will use the store object in the AppContext(see above). This value is set as part of the application startup.\n","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_0.4.2_1595772048771_0.32779566628000345","host":"s3://npm-registry-packages"}},"0.4.3":{"name":"@sassoftware/create-react-restaf-viya-app","version":"0.4.3","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@0.4.3","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"133a7a179bcf6885b8372ef181b0a9ef0bd54900","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-0.4.3.tgz","fileCount":26,"integrity":"sha512-6jKOPISio1UfNjET5mw4CShXtAhMjLAlipWZCTSGO4k6V4lXspO7bj/8oagKwilMKcPYsmI7qATl9qMi7PVhyw==","signatures":[{"sig":"MEUCIEbCG2ozJHJo5dE7sX7p7D4XEyMNZ8kPWWABFD8XUppMAiEA9ljXKxlnA1A98mW4/Zh8bpDikTJ/5OcUf2Y9FDuVeso=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":155303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHhoYCRA9TVsSAnZWagAAwtUP/2AYmasU0HZekhmzla7F\nH1diyPjVlODus+/IExLdzZPDy0+3BqdZdUx0ikKIZMxheAUVQYGq1dxNivo7\nPRtgWbNu6RmCjECABPsg1lXND+CzEnEasfiOzhXrhXsFpgc02uK+Zv4guU45\ntpNobb+9dZqip6IcKcRRHbkzDtcpCwe2FuprumNdJm1Epj6ROOZiwDD8Wcol\n60CDYHKyoJriJyq3bYQNik5meZ22L/pTFF8YiUuZlLBIXYzhNf45gkgBpSUh\nA9xq4QiuPBIykD+r4ZvU1xuWZ9hu5FUrXqvgDoYmT6RqYH3536++Oa/9epym\nIzjV4RcSzOwJMlsK8pMO9KrRogXwQzYqm6u4EIQOKQEqhIgHVwHHuRk1dXVr\nAuEJlixVeTDeHXw2zic8KlotbkFoOtlTIj8NjCu9KnDG4JPY4SQ+IqzT50Bt\nnKnnIm2KZyx4kP3yYZbO7lb+gt+wuyM0D2gcd2BSrCRrBpsFMyri3UEJqk3R\nOva06l0DTTc8g68RwGq9YlQoTs9oJntoBZczc/ezAotGG0IMuCAgrP6t1d58\ndlTCmzlokMB7+0UVICTvybPuCQq2hNY6FlkqHUpSu3Uf2MyeRwlgNrYiuEl0\nwbz4RWlxsO1U7RCsKT+/qT3cMpmYABbIMAuDktIz3nAuwrr0CC8veHdpDDCF\n2On2\r\n=NnG5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_0.4.3_1595808280435_0.5148336830674443","host":"s3://npm-registry-packages"}},"2.2.6":{"name":"@sassoftware/create-react-restaf-viya-app","version":"2.2.6","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@2.2.6","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"3d4ab1f9770825c60a3fc2a3f46f49740fb8b60c","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-2.2.6.tgz","fileCount":28,"integrity":"sha512-P9JlumBPaePMWdz15WhyZqo0cVtQZ7CCZdtXQXBpJPAog/O3jhvNzg4tcqYJM6l/QcTA/BO2pXXqEm3Mp0nS7g==","signatures":[{"sig":"MEUCIQDGSt1GWGBC8WsAnclHtjzf6FJ9szmk7qPIiCfnMydfDwIgKvKTOGtVaeu+MLCtIw1RthBxZkbChCgo7UcD/IHAL4I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":157590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfToY9CRA9TVsSAnZWagAA1/0P/Ap0Eqdy3IdBqAA3PeAN\nnqX/0g+3gr+mpoYL6WC0BzfzvcB2JOPgqkyQ2ma1OvD7JZYel9hRzFdiuQYK\n0zdHkiIvzXWNerUSb0iX3wFml8t+Jfy9GmuVHscV9Xnq7fqXJ/evNOugvLAK\nllkA5MCC1dX9wqMDmir61QeuwDw1A+WyQ5AU9oWxlxWNCYsfQC6UUYNN1LLr\nOJZWV5kgBGg+HO+LIhQqK2VDDwVncVb5txdHWckAmCHYF7MkvnfRFJz5I6JI\nejiIWE9rXQ8zPs58BgRFf5msvpSvzRDuSFi3z9ozjn/HyqiUOKnaClI9tjjB\nPcueX0ua83wARcH49Cn3/cvvnvTICu/t/x8PK44t3dZhyC0qO7S2sCcTx+bz\nl8aGKVgE5YJpJKpVIv0FQA0wHv6OeLQnBZXdHo88JoJaPPgRGNgFh+1X/w0A\n7Yh6dntXhLQ8wLicEMm5XobwoRkZz1knSl+iE3gbpR2099EEWYsloAIQ6L39\nzzFBfG8v4PsSii11iWtMxZGCYgvlyjFzoNaUOlba0Fbl0NW1nPW1CutzTPJl\nbe38aZP6C5qhlPxVVlgVVKLeJEJdylPhz7isMVgY0b/jtUQ6aMR899zZXhLk\nqmx2VKpMfY0LneDNwcXYNuhGrUhFte7qymd8j0J1ei9uW/7DP2n/aniH5X9Z\nWvGY\r\n=QBIQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"# create-react-restaf-viya-app\r\n\r\n[create-react-app](https://create-react-app.dev/) is a very popular cli to jump start the development of react-based applications.\r\n\r\ncreate-react-restaf-viya-app is an extension of create-react-app. The target audience is react developers building SAS Viya Apps.\r\n\r\n1. [restaf](https://github.com/sassoftware/restaf/wiki)\r\n\r\n2. [restaflib](https://github.com/sassoftware/restaf/wiki)\r\n\r\n3. [restaf-server](https://github.com/sassoftware/restaf-server/wiki)\r\n\r\n## Benefits\r\n\r\nSome of the benefits of using this cli to jump start your SAS Viya Applications\r\n\r\n1. You retain all the benefits of using create-react-app which are well documented\r\n\r\n2. You are automatically authenticated to the Viya Server.\r\n\r\n3. You can start making API calls right away during development just as you would in production.\r\n\r\n## A note on making API calls\r\n\r\nThe recommended way is to use restaf and restaflib to make the REST API calls. See the sample application created on your first creation of the application.\r\n\r\nIf for some reason[*the author can think of none*] you would prefer to hand-code the calls you can do that too. Remember that the session is authenticated using authorization_code flow and code appropriately.\r\n\r\n---\r\n\r\n## Creating your react application\r\n\r\n---\r\n\r\nIssue the command below to create the default application.\r\n\r\n```sh\r\nnpx create-react-restaf-viya-app react-appname --webapp webapp-name  --title webapp-title --script scriptTags-file\r\n\r\n```\r\n\r\n```sh\r\nExample:\r\nnpx create-react-restaf-viya-app mycoolapp\r\n```\r\n\r\nOnly the react-appname is required. The optional parameters are:\r\n\r\n- webapp  -- this is the user-friendly application name. Defaults to **viyademo**\r\n\r\n- title   -- The text for the title tag in index.html. Defaults to **SAS/Viya Application**\r\n\r\n- script  -- a file which has some HTML script tags to be inserted into index.html - defaults is a comment line\r\n\r\n--i       -- install additional dependencies ( a quoted string like \"next i18next\")\r\n\r\n---\r\n\r\n## Using the Generated Application\r\n\r\n---\r\n\r\nOnce the app has been created you can start your development.\r\n\r\n## Key Assumption\r\n\r\nThe application is authenticated using authorization_code flow.\r\n\r\n## Configuration\r\n\r\nSet the following in the .env file:\r\n\r\n- CLIENTID  -- the default value is viyademo\r\n- CLIENTSECRET -- the default value is secret\r\n- VIYA_SERVER  -- no defaults.You must specify this(ex: <http://myviya.com>)\r\n\r\n### Some defaults\r\n\r\n1. The app server runs on localhost:5000/viyademo\r\n2. The clientid redirect is <http://localhost:5000/viyademo>\r\n3. The create-react-app server runs on its standard port(3000)\r\n\r\nFor more detailed configuration options see\r\nSee <https://github.com/sassoftware/restaf-server/wiki>\r\n\r\n## App Development\r\n\r\n1. Modify App.js to suit your needs\r\n2. Install any additional packages your app might need.\r\n\r\n## Running in Development Mode\r\n\r\nRun this command to have HMR enabled\r\n\r\n```sh\r\ncd to-the-app-directory\r\nyarn dev\r\n```\r\n\r\nThe flow of the application on the yarn dev command is show below.\r\n\r\n- Step 1   :  User invokes the application at <http://localhost:5000/viyademo>\r\n\r\n- Step 2: restaf-server authenticates with the Viya Server. The user is prompted for credentials\r\n\r\n- Step 3a: Status of the initialization is displayed in the browser.\r\n\r\n- Step 3b: restaf-server runs the create-react-app's **npm start** script which launches your react application in a second tab of your browser.\r\n\r\nAt this point you can view your application, edit your code and see the updated application. The session is authenticated -so you can make REST API calls to SAS Viya using restaf or any other library.\r\n\r\n![create-react-restaf-viya](create-react-restaf-viya-app.png)\r\n\r\n## Running in Application mode\r\n\r\nRun this command. Note that the create-react-app dev server will not started.\r\n\r\n```sh\r\ncd to-the-app-directory\r\nyarn build\r\nyarn app\r\n```\r\n\r\n## React Context - AppContext\r\n\r\nBy default a react context named AppContext is created.\r\n\r\nTo access the data code something like this:\r\n\r\n```js\r\n\r\nimport React,{useContext} from 'react';\r\nimport {AppContext} from '../providers';\r\n\r\nlet appContext = useContext(AppContext);\r\n\r\nlet {store, appOptions} = appContext;\r\n\r\nlet {appenv, logonPayload} = appOptions;\r\n\r\n```\r\n\r\nThe store is the restaf store object that you will use to make the API calls.\r\n\r\nThe logonPayload will have the following form:\r\n\r\n```js\r\n{\r\n    authType: 'server'\r\n    host    : \"your Viya hostname\"\r\n}\r\n```\r\n\r\nThe host value is useful if you are making use of VA_SDK and/or if you are coding the REST API calls without restaf.\r\n\r\n## Requiring restaf and restaflib in your application\r\n\r\nThese two libraries are part of the installed dependencies. To access them in your react components do these as follows:\r\n\r\n```js\r\nlet restaf = require('@sassoftware/restaf/dist/restaf.js');\r\nlet restaflib = require('@sassoftware/restaflib/dist/restaflib.js');\r\n\r\nor\r\n\r\nimport * as restaf from '@sassoftware/restaf/dist/restaf.js';\r\nimport * as restaflib from '@sassoftware/restaf/dist/restaflib.js';\r\n\r\n```\r\n\r\nIn all probablity you will not refer directly to restaf in your code. You will use the store object in the AppContext(see above). This value is set as part of the application startup.\r\n","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_2.2.6_1598981690971_0.5014067034651926","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@sassoftware/create-react-restaf-viya-app","version":"2.3.0","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@2.3.0","maintainers":[{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"24daf14db8b07c272439324e9ad3fc6337873d5b","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-2.3.0.tgz","fileCount":28,"integrity":"sha512-1Jb5AnENS2XSZ/rIDEaYxa09YvdyUm5uYh1R9TAE6lTqouM5k1XEJ1DK7ptap56oAzTSq8HqiJrk1oOdz0vU6g==","signatures":[{"sig":"MEQCIGSTUQSSQLXkdWMn1dh0hKBggu5qx8wE5+I8nvFo9ez8AiBmSQro8rxsxZKMu7juxQfVQgnobIs4VcNvrTHjqAblDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdQD0CRA9TVsSAnZWagAAh28P/A2eW4jJ92w8AfzMjGsa\nENAY+fToa8ztgHnYasLoUvqkjri7g7RpDiII+uk+5dkaO0Pb9ufpXKOwYU1z\nxhcy1fn8tVBSNJFuI5o+W1Ab5BU1SVsSTraXKBRd1TwKdd4sop8z5QZ+6NEq\nH3kpre+l9CtUr/WSfj5WjpgSLvBX5b1QzjeUpKXmwyXO/8HesHvoeAPzEwk5\nGfdwrw3Bvf6cL9Z9UNC35H0bqWNniOE8cCd5QyXXbRfXxza4+RqFJEVjMaJi\nvLHweTkBQICFCLkxTBAzMsgJVfszNxq4JAgUp6OSJrHtrY6otzPxgglxRcZj\n+oMMC2SOBw47K32dtUxvEoUpE69AXxnjNaN2xTD33B6VzIy1urZqR8QTWGDz\n4nigyWXhFgB2geNnp+T3C7yrDx0Ty6f9AeCnpNJLUGW7uVNId1ku9CNSwuLq\nN/2B/QrnYlJukRyjTHB0u6HRimQiq5FP219POOhCZXeTz3BnHTppNVWtgdJN\nUlazEXTdFKi3O1NK8W0thDwDDJYZQY35ZjhAjCRXwi9x6RM6CpiKgu6rM3Eo\n9gLZS4KXrlhRevL2KrK3wZyhVFZq0ygrhNFBUo1MnIag1YaTDLZBqAI2IJuQ\nsde36oIV53WQGRcHXp7dmfquyOicAbdC0M8bafFJE9SGwaAzEgbejckLhOjD\nNo+W\r\n=AcVI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_2.3.0_1601503475812_0.46175136562467944","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@sassoftware/create-react-restaf-viya-app","version":"2.3.1","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@2.3.1","maintainers":[{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"de951317aa3c8b45236389e53bbbffb831cb3002","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-2.3.1.tgz","fileCount":28,"integrity":"sha512-lSpBH0MwDfEFXVzsQDjqyXfyAq8TLGMTaU5AJO45+dpgyu3fDy74PIZ//wWDaJ9RJYMOj2+e0Byx8M7LTlNCOA==","signatures":[{"sig":"MEUCIQD2HLoR5LHKQpePN1gEIFA5iwNo4GoC/99YOZFhesjW8gIgEb2G7Mo+sy3e0U+/ccpOOQkNVgF1L3Mvlbe3FEk9CNE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdizaCRA9TVsSAnZWagAAWWcP/0PHHbx6CI/RiKQe0FBO\ns2xOGERXIMIdBjKTkXzQMkKVC3AubYAVIYpxJR4M/Zsy7WfnIhfegoijTTme\nCUjIZLt3N8IEGL4Gtls5DBIdcGUabGvLJDQ8K/TGM4+jgjshlcSBAN5nLGU+\nsJI4WVmemj8HBRN+FUZWhdmJZRYoNjl1pAjiPmJxZZXSZe0khxvcSBjmvPsb\n3lRCqt90WlsrAFnmo/eivU7939gN5pMBsaGzYEy97DD0XQCGfR4sZtpXz8Eu\n7OxxgBoNwYN4GqfxnjguvIQdIlXXNJVOhGucVpbTSMIwppeqdk7f7U2D8HMZ\nGburlfZUsQGOSxE8G+Ez82f6Ob7J0MD/HraMrPkJpeMfb+hcZC/nqNqutKrE\n+rF/IgU0ezy9A8FPDjZ+bMpgKm3kmXAMvu8dbPtdPYmDT3s9mWn3LkXmmRru\n5LQKhl8NsolC3mG+zJOvLJhTR1+GEnFBKQ0EpynomlCXRtPbB+0oyoknHqN9\no3J34tglmvdE9DWg8lxdthgmeWRb96GN0b0Pa4UPbffpkI2FPdWcbNUwRERG\nswqsZsvZzjG7PCGE5+cNL+Q4+pWyA/uZeL6c/xGEBjayyLf3gDD4W6AXB0WN\n03GL1WzTR0FVvcQNhbhLBhSVwPdCeIhYGvchC2AoKW+S3I36JAGmuw9gzRt9\nyFhu\r\n=VAIV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_2.3.1_1601580250422_0.7780458298641233","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"@sassoftware/create-react-restaf-viya-app","version":"2.3.2","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@2.3.2","maintainers":[{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"562cc01b26ccfff18ab1bcd87551dc27eacd142a","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-2.3.2.tgz","fileCount":28,"integrity":"sha512-RUoE8iw2S5REV/fuDISFohyTW4AuPsioHUmVtRyR4SP6t6Mcq0Rr9f2R2/Qw1YPT85u6Nt4AgtiqXtXIGf89dg==","signatures":[{"sig":"MEUCIE8ypDWBumtfs/6jZQ+qrw6Pv/NEPKBgAwz5rLvgNXlwAiEAgcv5/SZEv4N/5XixtO6Mmompj/spK/rutFHgmfPyXoY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":159798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdi58CRA9TVsSAnZWagAA3+oP/0skOJ3EGBZtT/3kRTRE\n4rSUJEDbx0/UrG166lCwFVo26u9nCwztB3LMNckH2s6h+yBWYNozFh7J/GH2\nPHkbowVuPfA/7OZPVVcp6vHFVJbTFwfE/qq9CmgnVqWx5ygpJUDPvF+PKzkM\n3xGhCzUCK407It/lb1EExAAqoICxHUb6rLrqjWL6AIAPPaGxJALZrCNYoKtN\n0HvI6TfTsS7lKenDPfkA3chlU0dsFj+3G4vlbsIRIOEjwzIdGbTqqvXfGMWM\nwdM7yQ8IpwNv73+UGJNr4uzUYiqw1GBoh2GnLRH1ZyP1ZoXFJ7bA0F19lJK8\nVPO4X2dRYkETt5xrW3E89NJkDaOUw64iXY90Ja/V5KyBC+HpxIdy5gkI6izY\nIXWztQA5L+soUkQyTNS+YUi0K9fmlPhdOK80ouSj1LFPCPApj1pHSenhlgq1\nGyKmJQiXabGCkgsaB2Af55tTjSuH/tllC8UO3pEF995b2eqQtlTClrZggcxe\n33R8Mc3Jpuk9Lkc9pur1xMx7YR5C4viC95Vjhhg9M0qwjJRAmSlzwW9iPaNz\nq5DSwAE/IZ9BqMaVdUVxXQ9y6MNthuzRof5JDsCR/W9/E7i2WVXcwHm5viUm\nSOSsOwMf0nwsX0EZUo5j26clnP3xOX34xfK6I/7UhtHBAr0V4+Edzhdg0qvt\nzsqo\r\n=HeNd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_2.3.2_1601580668127_0.9417692064710175","host":"s3://npm-registry-packages"}},"2.3.3":{"name":"@sassoftware/create-react-restaf-viya-app","version":"2.3.3","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@2.3.3","maintainers":[{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"086de2dc23a5fae21f7b41aec9170d779a7effe9","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-2.3.3.tgz","fileCount":28,"integrity":"sha512-hXT4WH9qtCvjpTA9g+j/yQIeKPGzEDcve+ipqYrlqZ/rYl3G64WRjchGMDVm5tcKuNLwcznSBxU+o4cb5G9cGQ==","signatures":[{"sig":"MEQCIFdFRdWMR1pM2rerOcVpq0+n1EXpaUZYZc6Fdp35zST1AiB/uVX5EpOL9JECc2i59x+80RGXSIGFRVZ9L9AGEWJZYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfe+ZbCRA9TVsSAnZWagAA0eYP/jNG/7uCuR0hysAznaIG\nVc21SCMXdBp1I5W3Rfz/2LhvEL0IhckDkTfjiM0GH0wT2jN8fQY8ny2x8GZJ\nFzoW3ev2DBTMnAGvLlA8VRXwpaaIIorfIBvy27ghRgtTehS3TwhgLRquHek6\nUiMan3ghYijMuzyqKuM0Zw0GFBIBmylZijVTgoVUHNQUKo2iCD2Z/a/dFXy1\nYxdn1mblMjEGBlc7fwawuaBfRLtfNyh19ASLZkPmCdjO0Li+5hcmLr0UsGWe\nqMs1M1CCWm8bCFtKa50dERIXjyEUgQdzKi2X8bu644P9x7IOdNv4HmHC61P3\nbzKt2eqR3WTqSridl4SafQ7MsjLaqyA1/ao6V/2VQEUMIoaVljITVPPbjyMP\nebKIqwVbXFOjsEtXGsEk64StB5yaxxYv1LyhrodbyXeLvbOnTXMiiQm+TfUN\nC3Ya0/pJL2gSy67RLs/uJqRsO/995sZCXSx0cdiLC2WworJtp6V1JLcE8H/l\neQMJj03KMqmc7gSXDkVaVJU7adOoI11oCH4Ms2NbL/pIi02jUb+G9GAmQpo5\n8UwKImGHR08Hfsr/qDKnO6gc0hKKQ8SZBAp85GaSvKyONEe1WyYinaTJRgot\nWrFOUPKPM9Fmi5ZNZhxDsceg4ezyoqsVYEfarucN8Pzi6zC+Z4yMbdRGFctX\nJqRx\r\n=cNYv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_2.3.3_1601955418859_0.45979326230578477","host":"s3://npm-registry-packages"}},"2.3.4":{"name":"@sassoftware/create-react-restaf-viya-app","version":"2.3.4","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@2.3.4","maintainers":[{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"8c503c38276540709926d8bc351a0956e4cfa2cd","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-2.3.4.tgz","fileCount":28,"integrity":"sha512-AQ7f3S5G1ibog/tfC2vh/m7rZn1ret+PleKCtKCmMpLn1nRBQeHxdSd69z7+teBqMVhTQeShA3bSA9USMv3CCQ==","signatures":[{"sig":"MEYCIQCBUYV64FON/jV8hoyhUIy1DPIA5s9NRWM5e1A6E4hMTAIhAOAmG4hDNetmQZJhC3pX3NY6nOSddyBJ2X6kYpt5ScZl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffF6ACRA9TVsSAnZWagAAz40P/iJCbOr32qGg4QlPQRB6\nTRjXdqKDD0dHVIIoNErtapNyqcAP8muw4qQ4VPUyqpcNxC8NM847v5PD7fgZ\n81WmlZrpMPA+gMid/QIXm9QX0kztbZUjgPqB9a7XbYfhkmp5YvbRl8/J+szd\neUF1o1MW2yBnGZJsiwgoqZU55WWx7BTd7trLgBcJnaLjcDm9/TiqqLloVsNq\ng2KiJzkdyc9HDG57YhTJv3i5EdgvZqwz6fK+M5uIuubBLeg8BZqVC3Ta+POT\n4t8P3txLMhTkphKUJads+4YKWLcLoveJ6+0+zxdkb/ahMAhQwymr74wPey2Q\nwzRwpdevQGglbNbt1QQR82QQbjyQ5kvL2u4kr1p6ws5bY3jwWY4XmKwdu+YM\nS7G8MwZ5EfxBBrEK3JhSEmYceY+QJnnlLXwSEpY63dHsI1GqoqeaGCAHs203\ntY8zoOINi0JGxc2J9PKB45E8MbXxNHIAB/3KGPJru+HqGE+i135e269JRk3E\n3WTI/SGzzlwo01wtnb/Gk3pYKkNONI1U9jCThNRz+UTvl9mya2dhHmDb7KrK\nt098c7cC0wdM3ZyGsUuTjEHQ9JcEjhCz7e+MnFDAZXTkpIwS9TJHLJnAwVTF\nItOtf0g/bLFeALN2acUA3wCnBnvP7OHUIDkdTU9Os+aR3GnLO++dC3RmQ9RX\n3FaO\r\n=vrz4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_2.3.4_1601986176133_0.34734733657230366","host":"s3://npm-registry-packages"}},"2.3.5":{"name":"@sassoftware/create-react-restaf-viya-app","version":"2.3.5","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@2.3.5","maintainers":[{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"01581da787e6e62377636f6737418c37635cfbee","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-2.3.5.tgz","fileCount":28,"integrity":"sha512-NVZggOojxMm3rfM/VWVhjrWH9t21nBW+0JJt9Hd2i81LAWfZBE1icEmSVlrUY6aakXOixS7gOyYZDlxnuux/5w==","signatures":[{"sig":"MEQCICwT4VJmd2zz4x7Ko+Ye4wayKF9XuxO1AGelhmjW9ANxAiB9t78qsyHWk8H+uOx8Bf+VI0LNm4YUWtZW5ZBMaYJIQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":163489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhe15CRA9TVsSAnZWagAAvG0P/R/JNtzj70OJGVxsfieF\n47wLaLvKyhUm5udpEFzK2X4SxkLMyjvfCLPoB3qrwxJB2ihJ1P1vrn+nG4W4\nJk+Mh1oJCOWcpid/2rjp7/T2Bjq4rVsk1jFhKQgLP/mpfQyghqR4GcjlaRa/\nF7A+RAnk+jI70kmsedy54gHJC1GtAyAHIUcCEALP0IWBoe+02BSUTxvyl8Ob\n/IjeASEWiiL5RjDH4UYBMR4qQJKrR5UqGOtzQ4m+OuUj67S2P2B5+FBus8Tp\ngRDg/rBY4x1TQvFGhIzNpeCmq3v7JVVfdK1vLRQkbG8MLWoSh2gBIFdoWBEz\nooqDEuDAi6oLI0p3k86ep2RFdAdgTYYFVS9i4+yIQ25xJtEp2W1zTa1suPeI\nhnm4awKCJp14FKIEwZgAkaZzyrFH2rPMBsJYxQUKqOV6kOHKz2SMYhNWkMGk\nOmZM4gZHjApG1WsM4fy3Jb1UU8CF+xY5PLyNWQjNtjhuvhTONiiS594pd8H2\nDvW3ETu9CHKAwik/hfARqCtcy0GUEVOGVrixSFtbw76ua7+rF1MN6dmWQ+AY\nOKH3PjvZBsBDNW/njflMczOUhD/4YDhW2FpA9VlDIVvcxxfNCguKRivj7No/\nU6L54u/ZuaTWYigGDVxIawc0C/ySsgqalUIj2k2CchH+jFZ+eDlrSu7bkCOz\nGyYh\r\n=6QL/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"# create-react-restaf-viya-app\r\n\r\n[create-react-app](https://create-react-app.dev/) is a very popular cli to jump start the development of react-based applications.\r\n\r\ncreate-react-restaf-viya-app is an extension of create-react-app. The target audience is react developers building SAS Viya Apps.\r\n\r\n1. [restaf](https://github.com/sassoftware/restaf/wiki)\r\n\r\n2. [restaflib](https://github.com/sassoftware/restaf/wiki)\r\n\r\n3. [restaf-server](https://github.com/sassoftware/restaf-server/wiki)\r\n\r\n## Benefits\r\n\r\nSome of the benefits of using this cli to jump start your SAS Viya Applications\r\n\r\n1. You retain all the benefits of using create-react-app which are well documented\r\n\r\n2. You are automatically authenticated to the Viya Server.\r\n\r\n3. You can start making API calls right away during development just as you would in production.\r\n\r\n## A note on making API calls\r\n\r\nThe recommended way is to use restaf and restaflib to make the REST API calls. See the sample application created on your first creation of the application.\r\n\r\nIf for some reason[*the author can think of none*] you would prefer to hand-code the calls you can do that too. Remember that the session is authenticated using authorization_code flow and code appropriately.\r\n\r\n---\r\n\r\n## Creating your react application\r\n\r\n---\r\n\r\nIssue the command below to create the default application.\r\n\r\n```sh\r\nnpx create-react-restaf-viya-app react-appname --webapp webapp-name  --title webapp-title --script scriptTags-file --use viya-app\r\n\r\n```\r\n\r\n```sh\r\nExample:\r\nnpx create-react-restaf-viya-app mycoolapp\r\n```\r\n\r\nOnly the react-appname is required. The optional parameters are:\r\n\r\n- webapp  -- this is the user-friendly application name. Defaults to **viyademo**\r\n\r\n- title   -- The text for the title tag in index.html. Defaults to **SAS/Viya Application**\r\n\r\n- script  -- a file which has some HTML script tags to be inserted into index.html - defaults is a comment line\r\n\r\n--i       -- install additional dependencies ( a quoted string like \"next i18next\")\r\n\r\n--use viya-app   -- Build the viya app with builtin routing (see )\r\n\r\n---\r\n\r\n## Using the Generated Application\r\n\r\n---\r\n\r\nOnce the app has been created you can start your development.\r\n\r\n## Key Assumption\r\n\r\nThe application is authenticated using authorization_code flow.\r\n\r\n## Configuration\r\n\r\nSet the following in the .env file:\r\n\r\n- CLIENTID  -- the default value is viyademo\r\n- CLIENTSECRET -- the default value is secret\r\n\r\nSet VIYA_SERVER using your OS's set command. This can also be set in the env file. If you set this in env file then change\r\nthe dkrrun script accordingly.\r\n\r\n```sh\r\nset VIYA_SERVER=<your viya server>.\r\n```\r\n\r\n### Some defaults\r\n\r\n1. The app server runs on localhost:5000/viyademo\r\n2. The clientid redirect is <http://localhost:5000/viyademo>\r\n3. The create-react-app server runs on its standard port(3000)\r\n\r\nFor more detailed configuration options see\r\nSee <https://github.com/sassoftware/restaf-server/wiki>\r\n\r\n## App Development\r\n\r\n1. Modify App.js to suit your needs\r\n2. Install any additional packages your app might need.\r\n\r\n## Running in Development Mode\r\n\r\nRun this command to have HMR enabled\r\n\r\n```sh\r\ncd to-the-app-directory\r\nyarn dev\r\n```\r\n\r\nThe flow of the application on the yarn dev command is show below.\r\n\r\n- Step 1   :  User invokes the application at <http://localhost:5000/viyademo>\r\n\r\n- Step 2: restaf-server authenticates with the Viya Server. The user is prompted for credentials\r\n\r\n- Step 3a: Status of the initialization is displayed in the browser.\r\n\r\n- Step 3b: restaf-server runs the create-react-app's **npm start** script which launches your react application in a second tab of your browser.\r\n\r\nAt this point you can view your application, edit your code and see the updated application. The session is authenticated -so you can make REST API calls to SAS Viya using restaf or any other library.\r\n\r\n![create-react-restaf-viya](create-react-restaf-viya-app.png)\r\n\r\n## Running in Application mode\r\n\r\nRun this command. Note that the create-react-app dev server will not started.\r\n\r\n```sh\r\ncd to-the-app-directory\r\nyarn build\r\nyarn app\r\n```\r\n\r\n\r\n## Testing in docker\r\n\r\nUse the dkrbuild and dkrrun scripts in package.json to build image and then to run it.\r\n\r\n\r\n## React Context - AppContext\r\n\r\nBy default a react context named AppContext is created.\r\n\r\nTo access the data code something like this:\r\n\r\n```js\r\n\r\nimport React,{useContext} from 'react';\r\nimport {AppContext} from '../providers';\r\n\r\nlet appContext = useContext(AppContext);\r\n\r\nlet {store, appOptions} = appContext;\r\n\r\nlet {appenv, logonPayload} = appOptions;\r\n\r\n```\r\n\r\nThe store is the restaf store object that you will use to make the API calls.\r\n\r\nThe logonPayload will have the following form:\r\n\r\n```js\r\n{\r\n    authType: 'server'\r\n    host    : \"your Viya hostname\"\r\n}\r\n```\r\n\r\nThe host value is useful if you are making use of VA_SDK and/or if you are coding the REST API calls without restaf.\r\n\r\n## Requiring restaf and restaflib in your application\r\n\r\nThese two libraries are part of the installed dependencies. To access them in your react components do these as follows:\r\n\r\n```js\r\nlet restaf = require('@sassoftware/restaf/dist/restaf.js');\r\nlet restaflib = require('@sassoftware/restaflib/dist/restaflib.js');\r\n\r\nor\r\n\r\nimport * as restaf from '@sassoftware/restaf/dist/restaf.js';\r\nimport * as restaflib from '@sassoftware/restaf/dist/restaflib.js';\r\n\r\n```\r\n\r\nIn all probablity you will not refer directly to restaf in your code. You will use the store object in the AppContext(see above). This value is set as part of the application startup.\r\n\r\n","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_2.3.5_1602612601051_0.19319907052052687","host":"s3://npm-registry-packages"}},"2.3.6":{"name":"@sassoftware/create-react-restaf-viya-app","version":"2.3.6","keywords":["viya","react","restaf","restaf-server","restaflib"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/create-react-restaf-viya-app@2.3.6","maintainers":[{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"}],"homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"create-react-restaf-viya-app":"cli.js"},"dist":{"shasum":"2a6ac6491aa98ced2113a5d37c25b6f20e54a92a","tarball":"https://registry.npmjs.org/@sassoftware/create-react-restaf-viya-app/-/create-react-restaf-viya-app-2.3.6.tgz","fileCount":28,"integrity":"sha512-KDVkxHPLHxmhlAgTeEtXyhDEGCmQE5lzwEOUTJ3M6zcvnjldhc43AmT3Y+PhRWVgXOYXEuLWHA+SUMaoCL7tZg==","signatures":[{"sig":"MEUCIQDIlqkhbgjBPSb4zoF9Xr9vnFH2w7S/29KQKovXDYWf9QIgS2HexpzIbXNF4PnKATKXpAJHKPcXeUNAt7khrMo7I9A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":163506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhkMFCRA9TVsSAnZWagAAoB4P/AxHcEzMwPxhSoGjmeU0\nZG555kBj+IVsW9sFyoafJGIlO8KRyaS7TsSETF7dVxZi/PPsk8Ub2GzW8i2a\nrLIFBdVGVTAl2ohC0eUCtwgYSeRoB+ZAqKI0jsXJ1aNNQjNMOHK0zkQQSVay\n4y/AQW/C/X8X6qubBFWyYI7cCKVJV6DzQxy6wX0ZImCDH1QjDpoO6E3Glu4z\niV4e7FATZ421mwq2LwcPXtCjH58KG2SS6//2Pztzakg1NOP0MMKjmkjB81Dl\nAcDkwmANVAp0mFxmHFcyEhELaoF5Yccv0jUxONmFQqjOPVK5+gAWyQIxtGtB\nxsNAw8hD0xXwngMzXNP1v+MaV4l3ZCQu+Qk5UIm4KkTdQ96eKgHOqcfFDIwU\n1qXxWfWl3oA1vbnoxkfqKK7zA4fCAUu1R1q2owPelF05s+/l+zXshtfxZ7IO\nOD09ASutHTGBWpDuFf5vnc1r8/FlHQ8TRMZ4TonH9FdXOW4qgP9BcB/rNV7O\nCg3true4TH/L5pVMlq+d1tZ1da9BM/FDeAw6p5Q3iCjzRN5miH0mmnoRM+po\nJ+Yco641HVyvN70UhDqgxIha8F7fbpZRtBa/CtQ0vK6RGEJm5OgexvdjtmRp\ntLcMeyW0TyoD+sTnaVdTb5R7kxj7effzDn4G8Bs0R3PODQ+O00ZUwPlHb5OG\nNWvt\r\n=+iJX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"# create-react-restaf-viya-app\r\n\r\n[create-react-app](https://create-react-app.dev/) is a very popular cli to jump start the development of react-based applications.\r\n\r\ncreate-react-restaf-viya-app is an extension of create-react-app. The target audience is react developers building SAS Viya Apps.\r\n\r\n1. [restaf](https://github.com/sassoftware/restaf/wiki)\r\n\r\n2. [restaflib](https://github.com/sassoftware/restaf/wiki)\r\n\r\n3. [restaf-server](https://github.com/sassoftware/restaf-server/wiki)\r\n\r\n## Benefits\r\n\r\nSome of the benefits of using this cli to jump start your SAS Viya Applications\r\n\r\n1. You retain all the benefits of using create-react-app which are well documented\r\n\r\n2. You are automatically authenticated to the Viya Server.\r\n\r\n3. You can start making API calls right away during development just as you would in production.\r\n\r\n## A note on making API calls\r\n\r\nThe recommended way is to use restaf and restaflib to make the REST API calls. See the sample application created on your first creation of the application.\r\n\r\nIf for some reason[*the author can think of none*] you would prefer to hand-code the calls you can do that too. Remember that the session is authenticated using authorization_code flow and code appropriately.\r\n\r\n---\r\n\r\n## Creating your react application\r\n\r\n---\r\n\r\nIssue the command below to create the default application.\r\n\r\n```sh\r\nnpx create-react-restaf-viya-app react-appname --webapp webapp-name  --title webapp-title --script scriptTags-file --use viya-app\r\n\r\n```\r\n\r\n```sh\r\nExample:\r\nnpx create-react-restaf-viya-app mycoolapp\r\n```\r\n\r\nOnly the react-appname is required. The optional parameters are:\r\n\r\n- webapp  -- this is the user-friendly application name. Defaults to **viyademo**\r\n\r\n- title   -- The text for the title tag in index.html. Defaults to **SAS/Viya Application**\r\n\r\n- script  -- a file which has some HTML script tags to be inserted into index.html - defaults is a comment line\r\n\r\n--i       -- install additional dependencies ( a quoted string like \"next i18next\")\r\n\r\n--use viya-app   -- Build the viya app with builtin routing (see )\r\n\r\n---\r\n\r\n## Using the Generated Application\r\n\r\n---\r\n\r\nOnce the app has been created you can start your development.\r\n\r\n## Key Assumption\r\n\r\nThe application is authenticated using authorization_code flow.\r\n\r\n## Configuration\r\n\r\nSet the following in the .env file:\r\n\r\n- CLIENTID  -- the default value is viyademo\r\n- CLIENTSECRET -- the default value is secret\r\n\r\nSet VIYA_SERVER using your OS's set command. This can also be set in the env file. If you set this in env file then change\r\nthe dkrrun script accordingly.\r\n\r\n```sh\r\nset VIYA_SERVER=<your viya server>.\r\n```\r\n\r\n### Some defaults\r\n\r\n1. The app server runs on localhost:5000/viyademo\r\n2. The clientid redirect is <http://localhost:5000/viyademo>\r\n3. The create-react-app server runs on its standard port(3000)\r\n\r\nFor more detailed configuration options see\r\nSee <https://github.com/sassoftware/restaf-server/wiki>\r\n\r\n## App Development\r\n\r\n1. Modify App.js to suit your needs\r\n2. Install any additional packages your app might need.\r\n\r\n## Running in Development Mode\r\n\r\nRun this command to have HMR enabled\r\n\r\n```sh\r\ncd to-the-app-directory\r\nyarn dev\r\n```\r\n\r\nThe flow of the application on the yarn dev command is show below.\r\n\r\n- Step 1   :  User invokes the application at <http://localhost:5000/viyademo>\r\n\r\n- Step 2: restaf-server authenticates with the Viya Server. The user is prompted for credentials\r\n\r\n- Step 3a: Status of the initialization is displayed in the browser.\r\n\r\n- Step 3b: restaf-server runs the create-react-app's **npm start** script which launches your react application in a second tab of your browser.\r\n\r\nAt this point you can view your application, edit your code and see the updated application. The session is authenticated -so you can make REST API calls to SAS Viya using restaf or any other library.\r\n\r\n![create-react-restaf-viya](create-react-restaf-viya-app.png)\r\n\r\n## Running in Application mode\r\n\r\nRun this command. Note that the create-react-app dev server will not started.\r\n\r\n```sh\r\ncd to-the-app-directory\r\nyarn build\r\nyarn app\r\n```\r\n\r\n\r\n## Testing in docker\r\n\r\nUse the dkrbuild and dkrrun scripts in package.json to build image and then to run it.\r\n\r\n\r\n## React Context - AppContext\r\n\r\nBy default a react context named AppContext is created.\r\n\r\nTo access the data code something like this:\r\n\r\n```js\r\n\r\nimport React,{useContext} from 'react';\r\nimport {AppContext} from '../providers';\r\n\r\nlet appContext = useContext(AppContext);\r\n\r\nlet {store, appOptions} = appContext;\r\n\r\nlet {appenv, logonPayload} = appOptions;\r\n\r\n```\r\n\r\nThe store is the restaf store object that you will use to make the API calls.\r\n\r\nThe logonPayload will have the following form:\r\n\r\n```js\r\n{\r\n    authType: 'server'\r\n    host    : \"your Viya hostname\"\r\n}\r\n```\r\n\r\nThe host value is useful if you are making use of VA_SDK and/or if you are coding the REST API calls without restaf.\r\n\r\n## Requiring restaf and restaflib in your application\r\n\r\nThese two libraries are part of the installed dependencies. To access them in your react components do these as follows:\r\n\r\n```js\r\nlet restaf = require('@sassoftware/restaf/dist/restaf.js');\r\nlet restaflib = require('@sassoftware/restaflib/dist/restaflib.js');\r\n\r\nor\r\n\r\nimport * as restaf from '@sassoftware/restaf/dist/restaf.js';\r\nimport * as restaflib from '@sassoftware/restaf/dist/restaflib.js';\r\n\r\n```\r\n\r\nIn all probablity you will not refer directly to restaf in your code. You will use the store object in the AppContext(see above). This value is set as part of the application startup.\r\n\r\n","scripts":{"test":"node cli","start":"node server.js"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"_npmVersion":"6.13.4","description":"a cli for creating react+restaf based apps for Viya","directories":{},"_nodeVersion":"12.14.0","dependencies":{"yargs":"^15.4.1","colors":"^1.4.0","shelljs":"^0.8.4","json-format":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/create-react-restaf-viya-app_2.3.6_1602634501173_0.17573249579599115","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-07-23T16:44:38.253Z","modified":"2026-08-25T15:20:51.184Z","0.3.0":"2020-07-23T16:44:38.634Z","0.3.1":"2020-07-23T17:54:59.045Z","0.4.0":"2020-07-26T13:08:07.341Z","0.4.1":"2020-07-26T13:12:23.037Z","0.4.2":"2020-07-26T14:00:48.877Z","0.4.3":"2020-07-27T00:04:40.600Z","2.2.6":"2020-09-01T17:34:51.118Z","2.3.0":"2020-09-30T22:04:35.933Z","2.3.1":"2020-10-01T19:24:10.578Z","2.3.2":"2020-10-01T19:31:08.361Z","2.3.3":"2020-10-06T03:36:59.023Z","2.3.4":"2020-10-06T12:09:36.252Z","2.3.5":"2020-10-13T18:10:01.231Z","2.3.6":"2020-10-14T00:15:01.321Z"},"bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","homepage":"https://github.com/sassoftware/restaf/blob/2.0.0/packages/createApp/README.md","keywords":["viya","react","restaf","restaf-server","restaflib"],"repository":{"url":"git+https://github.com/sassoftware/restaf.git","type":"git"},"description":"a cli for creating react+restaf based apps for Viya","maintainers":[{"email":"joe.furbee@sas.com","name":"jefurbee"},{"email":"deva.kumar@sas.com","name":"devakumaraswamy"},{"email":"ckedwards24@gmail.com","name":"ckedwards"},{"email":"robert.levey@sas.com","name":"rbtlevey"},{"email":"bradley.morris@sas.com","name":"brmorr"},{"email":"ben.tomlinson@sas.com","name":"bjtomlin"},{"email":"Josh.Lyna@sas.com","name":"jolyna"},{"email":"stephen.mckenna@sas.com","name":"mtlsmc"},{"email":"stephen.gemmell@sas.com","name":"mtlstg"},{"email":"ryan.auld@sas.com","name":"ryanauldsas"},{"email":"kenj55@gmail.com","name":"kenjackson"},{"email":"harry.moore@sas.com","name":"mtlhmo"},{"email":"martin.coutts@sas.com","name":"martin-coutts-sas"},{"email":"robert.macfarlane@sas.com","name":"romacf"},{"email":"timothy.crider@sas.com","name":"timothy.crider-sas"},{"email":"Daniel.Arthur@sas.com","name":"daarth"},{"email":"ewsken_sas@outlook.com","name":"ewsken_sas"},{"email":"Bryan.Behrenshausen@sas.com","name":"semioticrobotic"},{"email":"barry.peddycord@sas.com","name":"barry-sas"},{"email":"nurb.lampert@sas.com","name":"nurb.lampert"},{"email":"craig.mckay@sas.com","name":"mtlcmc"},{"email":"naji.shehab@sas.com","name":"mtlnsh"},{"email":"tom.mceachan@sas.com","name":"tom-mceachan_sasinst"}],"readme":"","readmeFilename":""}