concept fabric - network in category hyperledger

This is an excerpt from Manning's book Programming Hyperledger Fabric: Creating Permissioned Blockchains.
The channel creation, join peer nodes to channel, install, approve and commit chaincode are all done using the
peerCLI that ships with Fabric. As of this writing, it is not possible to do any of this from a Node app. A Node app would provide a friendly UI to perform these actions and could potentially be used by people who are not Fabric developers such as people in Ops. Fabric plans to develop afabric-adminpackage which will provide ability to install, approve and commit chaincode from a Node app but the channel provisioning would still need to be done from the CLI. 82 Note that version 1.4 of thefabric-clientNode package has support for channel creation and chaincode provisioning APIs but this package is deprecated and not suggested to be used with Fabric 2.0. In v2.0,fabric-networkis the only recommended API for developing client applications. 83 As Fabric 2.0 is very new at time of this writing expect things to evolve. In fact v2.0 of thefabric-networkpackage itself is under beta.
fabric-networkis the package that enables us to make chaincode requests from a Node app. Begin bycding into the$/client-applicationdirectory. You should see apackage.jsonwith following dependencies in it: